Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Winsock Close Event
Message
De
28/07/2006 08:29:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Winsock Close Event
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01141039
Message ID:
01141039
Vues:
65
Hello,
I try to write little Client Server app to exchange messages over sockets..

I write server app and Client App..

If the server app accept connection, and then for example - client send "BYE" word and server must close session

I wrote code for server
		loSocket.SendData("Bye!" + Chr(13)+Chr(10))
		loSocket.Close()
		This.oWinSock_Server.RemoveObject(cSocketName)
But... on client side.. CLOSE event fair.... and lock application.. I put ?"Event fair" to close event to winsock control - it looks like inside DO WHILE cycle..

Any help!
Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform