Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PC to PC communication
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00222364
Message ID:
00222412
Views:
29
>I place this message in the Internet section, altough it's not directly related to the Internet.
>It's more about modem communications.
>
>The problem is as follows.
>
>PC1 and PC2 are separated by 800 km.
>
>PC1 validates a form and attempts to send the data to PC2.
>If PC2 is busy, try antoher 4 times
>IF data transfer succeeded, PC2 sends an acknoldgement to PC1.
>
>On PC2 side, PC2 is always listening. If there's a call, modem attends the call,
>receives the data, sends an acknowledgment and disconnects.
>
>I am being asked if I could do that in VFP, and hell, I don't have a clear idea where to start from...
>

Only part of the problem is handled by VFP; the remainder is a WAN connection issue.

There are a ton of ways to approach this; I'd tend to use RAS to make the remote connection. Essentially, you want to make a network connection via dialup to the remote system. Using RAS makes the connection easy.

RAS has the additional advantage of leveraging the operating system's WAN capabilities. IOW, it doen't matter if it's a dial-up, a dedicated line, or a VPN through the Internet to a machine that has a static IP address. A connection is a connection.

Once the connection is established, there are lots of options - using a Web server that invokes a VFP app and sends back a reply, or DCOM and a Remote Automation Server.

There are lots of approaches available here. If you wanted to use a connectionless service, consider email - you could do this project with Outlook and VFP in collaboration.

>José
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform