ittyon.server
A server that keeps the state of its clients in sync with one another.
accept!
(accept! server socket)
Accept a new connection in the form of a socket, a map that contains :in
and :out
keys that hold the input and output channels. Used in conjuction with client/connect!.
shutdown!
(shutdown! server)
Shutdown the supplied server and atomically close all open sockets.
tick!
(tick! server)
Move the clock forward on the server. This does not send anything to the clients.