Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Winsock Server doesn't Disconnect
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Winsock Server doesn't Disconnect
Divers
Thread ID:
01022324
Message ID:
01022324
Vues:
66
Howdy,

I've downloaded the winsock example from msdn. I've adapted it and created separate Client and Server applications, which are both running on my laptop.

Problem is that when the Client disconnects (.object.close) the Server.object.state gets stuck at 8 (Peer is closing the connection) and the server is never able to accept a new connection.

When I threw a messagebox into the winsock "close" method, the messagebox was perpetually called and I'm forced to kill the app...

What do I need to do to work past this so the server can accept a new connection?

Many thanks,

Ellis

P.S. I'm running XP Pro SP2 and VFP 8.0 SP1
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform