Skip to content

Instantly share code, notes, and snippets.

@ivg
Created June 19, 2013 04:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivg/5811626 to your computer and use it in GitHub Desktop.
Save ivg/5811626 to your computer and use it in GitHub Desktop.
A simple TCP broadcaster (interface)
val establish: Unix.sockaddr -> Unix.sockaddr -> unit Lwt.t
(** [establish broadcast from] establishes a server, broadcasting
data from address [from] to [broadcast] *)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment