>> The "RTSPClientConnection" object gets deleted if the call to >> "readSocket()" in >> "RTSPServer::RTSPClientConnection::incomingRequestHandler1()" (line 786 >> of "RTSPServer.cpp) returns a value < 0 - which should happen when the >> remote (i.e., client) end of the TCP connection gets closed > > The FreeBSD recv() page says that
Note that I was referring to our "readSocket()" function, *not* the system "recv()"/"recvfrom()" function. Our "readSocket()" function - which is a wrapper around "recvfrom()" - returns -1 *even if* the "recvfrom()" call returns 0, for precisely the reason you mentioned. Please everybody, stop 'speculating' on imagined bugs in the code. Remember, You Have Complete Source Code. If you find a real bug, please report it (with a clear explanation of why it's a bug). But I'm not going to waste time following up on random speculation (especially if it's about something that supposedly happens only with Windows). Ross Finlayson Live Networks, Inc. http://www.live555.com/
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel