Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Cube777

Pages: [1]
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!

Pages: [1]
anything