AnsweredAssumed Answered

vrf To_From sockets Timeout

Question asked by VRFuser on Dec 12, 2007
Thanks Stan,

In fact, I make a ping to the machine before to execute a To/From socket box, but sometimes the server closes the socket associated with my communication port, in those cases, the server replies to the ping, but VEE is blocked... Has anyone had this kind of problem?

In any case, I think that part of your reply clarifies the situation ("Since you are running into network timeouts-- something that is beyond the control of VEE - ...)

Regards,

David.



-----Mensaje original-----
De: Stan Bischof (Richard S) [mailto:rsb@soco.agilent.com] Enviado el: martes, 11 de diciembre de 2007 18:35
Para: VRF
CC: vrf@agilent.com
Asunto: Re: [vrf] To_From sockets Timeout

Since you are running into network timeouts-- something that is beyond the control of VEE - I'd suggest that before you try connecting to the socket you ping the machine to make sure that it is available. That can be done very quickly.

A simple approach is EXECUTE PROGRAM with
  cmd /C -n 1 -w 1 x.x.x.x  > pingResults.txt

followed by a FROM FILE that reads in the result file and checks to see what happened.

This would of course sit in your program before trying to attach to the socket. It would add a second or two to yoru program ( once ) but would get around the timeouts

regards

Stan


------------------------------------------------------------------------
--
Stan Bischof  Agilent Technologies  707-577-3994 stan_bischof@agilent.com
------------------------------------------------------------------------
--

---
You are currently subscribed to vrf as: damoros@indra.es To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to
"leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at
"http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".



---
You are currently subscribed to vrf as: ming_meng@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".

Outcomes