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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to