1
Network / Does the TCP disconnect() trigger selector wait()?
« on: January 11, 2015, 04:00:03 pm »
Hello, I'm using the socket selector class to monitor a bunch of TCP sockets, and I was wondering if I called disconnect() on any of the sockets, will it trigger the wait() function of the selector? Or is this only when receive() is ready? (Documentation didn't mention anything on disconnect()). Also , does the destructor of the TCP socket call disconnect()? Thanks in advance for any help!