First run server code on any computer on your network. Enter acting server IP and port values on the client form.
Test button sends a short standard message. Send button sends a message entered in the text box. Transmit button sends a selected file.
All sent messages are stored in a memo column of a cursor on the server side.
* * *
VB.Net version of this code works in a similar way. It can send text strings and files to the non-blocking Winsock server. So you may use both codes, FoxPro and VB.Net, for testing the server.
does running this client portion ties up this copy of VFP from doing other tasks until the message is received?
A.M. | 2006-03-19 16:40:36
Server part: yes. You may try asynch calls, though anyway the state has to be checked by timer. There is no way to start a separate thread in pure VFP code.
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.