Create a client socket that opens up a connection with a server to send and receive requests.

Using Raw TCP Sockets...

Connect to a host address

Use HostLookup to get the IPAddress of example.com:

Use SocketConnect to connect to the host address:

Submit a request to the server

Use WriteString to submit an HTTP request to the server:

Read the response

Use SocketReadMessage to read in the whole HTTP response:

Close the connection

Use Close to disconnect from the server:

Using ZMQ Sockets...

Connect to a host address

Use HostLookup to get the IPAddress of example.com:

Use SocketConnect to connect to the host address:

Submit a request to the server

Use WriteString to submit an HTTP request to the server:

Read the response

Close the connection

Use Close to disconnect from the server: