Changeset 904 in MondoRescue for trunk/mindi-busybox/networking/httpd.c
- Timestamp:
- Oct 25, 2006, 1:51:57 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mindi-busybox/networking/httpd.c
r821 r904 864 864 struct sockaddr_in lsocket; 865 865 int fd; 866 int on = 1; 866 867 867 868 /* create the socket right now */ … … 874 875 /* tell the OS it's OK to reuse a previous address even though */ 875 876 /* it may still be in a close down state. Allows bind to succeed. */ 876 int on = 1;877 877 #ifdef SO_REUSEPORT 878 878 setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, (void *)&on, sizeof(on)) ;
Note:
See TracChangeset
for help on using the changeset viewer.