net.tcp

Functions for simple creation of TCP servers and clients

client

(client host port)(client host port bootstrap-config)

Build a TCP client and attempt connection from a host, port, and optional bootstrap configuration.

server

(server bootstrap-config host port)

Create a server handler from a bootstrap configuration, host, and port. Yields a function of no args which will gracefully close the server.