Skip to content

Instantly share code, notes, and snippets.

@AryanGodara
Created July 21, 2023 20:55
Show Gist options
  • Save AryanGodara/b49e0a05f2ed418a505545c06ad7faf6 to your computer and use it in GitHub Desktop.
Save AryanGodara/b49e0a05f2ed418a505545c06ad7faf6 to your computer and use it in GitHub Desktop.
udpClient/bin/main.ml
let () =
print_endline "Launching UDP Client...";
let () = Logs.set_reporter (Logs.format_reporter ()) in
let () = Logs.set_level (Some Logs.Info) in
let client_socket = Client.create_socket () in
Lwt_main.run Client.(create_client client_socket)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment