Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Server Timout for hard disconnect?
Message
De
02/10/2005 17:39:50
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Server Timout for hard disconnect?
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01055389
Message ID:
01055389
Vues:
60
I have a Foxpro client application that makes a simple connection to a certain server process(not Fox) using the Winsock classes. My problem is that when I am communicating and test a hard disconnect, litterally pulling the Ethernet cord, the client process dies appropriately, but the server process holds the connection for a long time..I need the server to drop the connection on that port much earlier than it does(1 hr) if I abruptly lose connection.

Is the server responsible for closing that connection if the client is no longer "listening"? Is there a timeout value the client can specify when initiating the connection that will make the server close the connection more quickly if it loses the client?

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform