Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Winsock: Unable to Listen after Sending on port
Message
 
À
13/09/2007 10:33:28
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01254109
Message ID:
01254196
Vues:
13
Jay,

This question is closely related to the one I answered you here Message# 1254029, the only difference is that you should start listening instead of CLEARing EVENTS

>Very basic example here, but I need to send data to a server app (works fine) and then Listen for a response from the server app (doesn't work). The TIMEOUT is just to wait a few seconds to give the server time to respond. This is all Winsock stuff. Is there something I need to do before the Listen? I'm getting an OLE dispatch error, something about "No blocking operation is in progress..."
>
>
>THIS.oSock.SendData(THIS.oSendData.strProcessData)
>THIS.oSock.Listen()
>WAIT WINDOW TIMEOUT 3
>
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform