[lug] UNIX domain sockets, and peers disconnecting, etc.

Alan Robertson alanr at unix.sh
Sat Jun 1 10:57:35 MDT 2002


Hi LUGgers,

How can you tell if your peer has disconnected on a UNIX domain (stream) 
socket?  With nodelay reads, it looks like you just get a zero when 
attempting to read from it.

	Thanks!

	-- Alan Robertson
	   alanr at unix.sh




More information about the LUG mailing list