Information générale
Catégorie:
Applications Internet
>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.
Jose,
I think this could be a good time to use an MSMQ server... then you won't need to handle the communications directly (unless that is a requirement.) All you need is the WorkStation to connect to your network via RAS (remote access service). From there, you can send your Message to MSMQ server.
The app on the otherside will be bound to the MSMQ Message Server object which will fire an event letting it know there is a message. It can handel the message and send a reply via MSMQ... At least, that's the theory I have never actually done it, yet.
The best thing about this is that the remote doesn't have to wait for the confirmation... the MSMQ server will hold it, untill the remote recieves it... so, you could connect, send your message and log off... then later, you can log on to see if your trasnaction/whatever was OK.
BOb
Précédent
Suivant
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