socket descriptor returned from socket()
Andrew N. Below
defan at zenon.net
Tue Feb 6 20:16:51 UTC 2007
Hello.
Could 0 (zero) be a valid socket descriptor?
man 2 socket:
RETURN VALUES
A -1 is returned if an error occurs, otherwise the return value is a
descriptor referencing the socket.
I have some troubles with xinetd (2.3.14) - first service
in config file with proto=tcp, socket_type=stream and wait=yes
fail to start (fcntl returns "Bad file descriptor" error).
--
Andrew N. Below
More information about the freebsd-hackers
mailing list