[7] Results

Golang : Forwarding a local port to a remote server example

golang port-forwarding tcp-net io-copy remote-server

Got a strange request yesterday. A friend who is an IT manager in his company needs to implement some control….... read more


Golang : Resolve domain name to IP4 and IP6 addresses.

golang net ip-address

In this short tutorial, we will learn how to resolve (find out) the IP, IP4 and maybe IP6 addresses for a domain name. Go's standard….... read more


Golang : Find network service name from given port and protocol

golang network-services udptcp getservbyport getservbyname

In this tutorial, we will learn how to discover the list of available network services on a machine. This method….... read more


Golang : Find network of an IP address

golang net network ip-address

We will learn how to use Golang's net package to find out the network behind an IP address. It is….... read more


Golang : Get current URL example

golang current-url hostname net-http

One of the common tasks that a web application developer will encounter is on how to get the currently viewed….... read more


Golang : Issue HTTP commands to server and port example

golang net-conn dialtcp http-command

Problem :

You want to issue or write HTTP command to a connection created by net.DialTCP() function. How to do….... read more


Golang : Get host name or domain name from IP address

golang net network ip-address domain hostname

Thought this tutorial could be a good compliment to previous tutorial on how to find network of an….... read more


Advertisement