Parent Directory
|
Revision Log
|
Patch
| Revision 1.7 by sysadm, Fri Oct 22 15:20:32 2004 UTC | Revision 1.8 by sysadm, Tue Nov 30 07:10:32 2004 UTC | |
|---|---|---|
| # | Line 56 net_server (const char *hostaddr, unsign | Line 56 net_server (const char *hostaddr, unsign |
| 56 | strcpy(hostaddr_server,(const char *)inet_ntoa(sin.sin_addr)); | strcpy(hostaddr_server,(const char *)inet_ntoa(sin.sin_addr)); |
| 57 | port_server = ntohs(sin.sin_port); | port_server = ntohs(sin.sin_port); |
| 58 | ||
| 59 | // log_std ("Listening at %s:%d\n", hostaddr_server, port_server); | log_std ("Listening at %s:%d\n", hostaddr_server, port_server); |
| log_std ("Listening at %s:%d\n", "0.0.0.0", 2323); | ||
| 60 | ||
| 61 | namelen = sizeof (sin); | namelen = sizeof (sin); |
| 62 | while(1) | while(1) |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |