$Revision: 1.11 $
Example code: A server for a client to connect to.
Status: NOT REVUED, NOT TESTED
Authors: Chris Ottrey, Joao Damas
Start the server.void SV_start ( void )
More:Authors: ottrey joaoStarts up the server..properties
- Create sockets on the necessary ports (whois, config and mirror)
- Start new threads for each service.
Calls: | CO_get_config_port() | modules/co/constants.c |
CO_get_whois_port() | modules/co/constants.c | |
OB_init() | modules/ob/objects.c | |
SK_atoport() | modules/sk/socket.c | |
SK_getsock() | modules/sk/socket.c | |
radix_init() | modules/sv/server.c | |
TH_run(), exit(), printf(), pthread_exit() | ||
References Functions: | TH_do_config(), TH_do_whois() |