comparison 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
comparison
equal deleted inserted replaced
194:31d43f0e469a 195:db9ee7745cdd
25 init_cmu200(); 25 init_cmu200();
26 if (argc > 3) 26 if (argc > 3)
27 bind_socket_pathname = argv[3]; 27 bind_socket_pathname = argv[3];
28 else 28 else
29 bind_socket_pathname = default_socket_pathname; 29 bind_socket_pathname = default_socket_pathname;
30 30 create_listener_socket();
31 /* to be continued */ 31 for (;;) {
32 exit(0); 32 get_socket_connection();
33 handle_session();
34 }
33 } 35 }