- Updated the comments for open_socket_in().
authorWayne Davison <wayned@samba.org>
Thu, 6 May 2004 21:26:46 +0000 (21:26 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 6 May 2004 21:26:46 +0000 (21:26 +0000)
commit2c7d63c76592751427f805020cfe8878bbc72f1f
tree917717a4c478770b3be0991fb323785ca4fe9279
parent3dd22903ac6df765f6525f53fe98d9dfdd4ac5c4
- Updated the comments for open_socket_in().
- Changed open_socket_in() to return an array of ints with a trailing -1
  value to indicate the end of the list.
- Use the out_of_memory() routine to complain about no memory.
- Undid the recent IPV6_V6ONLY change, as I think it would prevent the
  use of IPv6 sockets on some older systems.
- If we get an EADDRINUSE error and this is not the first socket in the
  list, suggest that the user try --ipv4 or --ipv6.
- When forking, the child now closes all the open bound sockets, not just
  one of them (I'm not talking about the fd from accept(), obviously).
socket.c