udp_server addr port f
except that f is called on every packet received with the
address it was recieved from and the data received. The next packet will not be read
until the Deferred returned by f is determined
udp_client ~addr ~port ~f
Same as tcp_client for udp
connect socket_type ~addr
connects a socket to addr
tcp_server_unix ~addr ~port ?on_client_error ~f
makes a tcp server over
a unix domain socket, listening on a path indicated by addr. When clients
connect f will be run and is passed the address of the client, and a Reader and
Writer for communicating with the client. When the deferred returned by f is
determined or f throws an exception the client socket and the reader and writer
will be closed. The Deferred returned by the function as a whole will be
determined when the server is ready to accept incoming connections