Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hard Abortion of TCP/IP Connection question

Status
Not open for further replies.

tetsuo3030

Programmer
May 5, 2005
16
US
I have a Window's client process that is connecting to a Window's server process. When testing a "Hard Abort" of the connection while the client is connected to the server(i.e. pulling the Ethernet cord out of my laptop, which is the client, while the status of the connection is 7 or Connected) I notice that the server does not drop the connection.. The client side drops the connection and everything "dies" as it should but the server process continues to hold on to the connection. Is it the server process's responsibility(at the Application level) to check to see if the client is still at the other end of connection and close the connection if the client is no longer there? Is there some sort of TCP/IP setting here that will make the connection time out sooner from the server side? Is there some sort of property I can specify when initiating the connection that will cause the server to check to see if the client is still "listening"? The client process is written in Foxpro and the server process is not..if that matters.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top