Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Murphy
  Where is Ken Murphy?
 Springhill
 Canada
 Ken Murphy
 To: Oliver Cortazar
  Where is Oliver Cortazar?
 San Luis Potosi
 Mexico
 Oliver Cortazar
 Tags
Subject: RE: Winsock
Thread ID: 104672 Message ID: 104673 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Network and Computer Management
Date: Friday, August 18, 2006 10:44:22 PM         
   


> Hello Experts.
>
> I am trying to make an application that communicates to other application in a local network and tells it whether there is a new shipment.
>
> I want the application to show a message whenever a new shipment arrives, but I don't want to use a timer to keep testing whether there's a new shipment or not. I would like the application that received the shipment to "signal" the application that has to process it, that there's a new shipment.
>
> I heard this can be done maybe with a winsock object. If this is true, can anybody tell me where can I find any documentation about the winsock object?
>
> Is there any other way to do it?
>
> Thanks in advance.


Oliver,

I assume that a shipment will involve the addition of a shipment record (or at least, the update of a shipment record's ShipmentStatus field.) If this is the case, why not create an update or insert trigger that would run your "update" application. You could do this totally within VFP without Winsock.

Ken

You shall know the truth - and the truth shall set you free. (John 8:33)

ENTIRE THREAD

Winsock Posted by Oliver Cortazar @ 8/18/2006 10:21:44 PM
RE: Winsock Posted by Ken Murphy @ 8/18/2006 10:44:22 PM
RE: Winsock Posted by Oliver Cortazar @ 8/19/2006 12:43:43 AM
RE: Winsock Posted by Andy Kramek @ 8/19/2006 12:15:45 PM