[lug] socket issues

David Trowbridge jupiter at flatirons.org
Mon Aug 13 14:09:39 MDT 2001


I just ran into a rather icky sockets problem. I need to be able to know
when the other side closes the socket. I've tried poll()ing the socket for
POLLHUP, but it doesn't seem to work. I know there has to be a way to
figure out when the other side closes the socket without disrupting the
protocol (winsock has a method, and I believe OpenTransport does as well).

Any ideas?
Thanks in advance,
-David

-------------------
David Trowbridge
jupiter at flatirons.org
http://jupiter.babylonia.flatirons.org

"Base 8 is just like base 10 really...if you're missing two fingers"
	-Tom Lehrer




More information about the LUG mailing list