Exploring sockets in python.
basic-client-connection - connection to a given host over the specified port.
basic-client-server - simple server that waits for client connection and gives a simple response upon successful connection before disconnection from client.