Parent Directory
|
Revision Log
|
Patch
| Revision 1.16 by sysadm, Mon May 5 11:11:06 2025 UTC | Revision 1.17 by sysadm, Mon May 5 14:27:57 2025 UTC | |
|---|---|---|
| # | Line 22 | Line 22 |
| 22 | #include "fork.h" | #include "fork.h" |
| 23 | #include "tcplib.h" | #include "tcplib.h" |
| 24 | #include <sys/socket.h> | #include <sys/socket.h> |
| #include <netinet/in.h> | ||
| 25 | #include <arpa/inet.h> | #include <arpa/inet.h> |
| 26 | ||
| 27 | int net_server(const char *hostaddr, unsigned int port) | int net_server(const char *hostaddr, in_port_t port) |
| 28 | { | { |
| 29 | unsigned int namelen; | unsigned int namelen; |
| 30 | int result; | int result; |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |