Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Programmation Orientée Object
Titre:
Using AutoYield with Communications Class
Versions des environnements
We have two communications classes. A client and a server. The client and server were both PRG-based at one time, but now the server is contained mostly in a VCX library. They do not talk to one another as they have very different uses. They are both forms because they use the WinSock OCX and there were some issues if they were not based on a form. The server uses AutoYield, set to .F. in the LOAD and then back to .T. in the UNLOAD methods. This seems to work well. I have tried to incorporate AutoYield into the client (PRG-based) side, but it just hangs up when a message is sent out and I have to kill the VFP process. I'm trying to do this because we are having an issue of timing regarding getting ACK responses back from the server (different one than mentioned earlier). Processing is continuing and not picking up the ACK when we run in batch processing. We have built in an artificial wait of 1 second, but we don't like this and it seems to cause heavy response time issues if the network is slow (or something, haven't quite got that figured out yet). Anyone have any ideas on what we can do here?
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement