Created
September 19, 2023 12:31
-
-
Save AryanGodara/c827383ded2768339812a7c33480b4ec to your computer and use it in GitHub Desktop.
main.ml for pub-sub-receiver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.(handle_sub client_socket) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment