FreeCalypso > hg > freecalypso-tools
diff rfcal/cmu200/main.c @ 195:db9ee7745cdd
fc-cmu200d: socket handling skeleton added
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 24 Apr 2017 01:43:02 +0000 |
parents | 31d43f0e469a |
children |
line wrap: on
line diff
--- a/rfcal/cmu200/main.c Mon Apr 24 00:45:54 2017 +0000 +++ b/rfcal/cmu200/main.c Mon Apr 24 01:43:02 2017 +0000 @@ -27,7 +27,9 @@ bind_socket_pathname = argv[3]; else bind_socket_pathname = default_socket_pathname; - - /* to be continued */ - exit(0); + create_listener_socket(); + for (;;) { + get_socket_connection(); + handle_session(); + } }