- Oct 30, 2000
- 42,589
- 5
- 0
Application is using the MFC CSocket class
There is no problem setting up a socket to Listen (Server side) and a data socket (Client size).
When the Ethernet connection drops; both the Server side and Client side need to "reset" back into the intial state.
This "reset" can be done by Closing the socket.
Problem is how can I tell if the connection has been dropped.
I am getting no notification that the connection has been broken.
Guidance please.
There is no problem setting up a socket to Listen (Server side) and a data socket (Client size).
When the Ethernet connection drops; both the Server side and Client side need to "reset" back into the intial state.
This "reset" can be done by Closing the socket.
Problem is how can I tell if the connection has been dropped.
I am getting no notification that the connection has been broken.
Guidance please.