mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
71ab0b0f58
binding the server to a single IP number.
12 lines
398 B
Plaintext
12 lines
398 B
Plaintext
--- common.h.orig Thu Mar 16 00:41:09 2000
|
|
+++ common.h Thu Mar 16 00:42:56 2000
|
|
@@ -58,7 +58,7 @@
|
|
static inline void log_annoying () {}
|
|
#endif
|
|
|
|
-extern int server_socket (int port, int backlog);
|
|
+extern int server_socket (struct in_addr addr, int port, int backlog);
|
|
extern int set_address (struct sockaddr_in *address,
|
|
const char *host, int port);
|
|
extern int open_device (char *device);
|