|
I am using Scott Klement's socket programs to get weights from scales.
This has been running fine for over a year.
Ever since the network replaced its wireless controller early this week, the
wireless connection drops at times. (I'm already in touch with Lantronix)
When it drops, the connect() hangs for 3 to 5 minutes trying to make a
connection. (I would like that to be a second or 2, but there are no
timeout values). This hangs the 5250 manifest station for that time before
I can issue an error message.
Is there a way I can test the IP address to make sure the device is
connected (other than PING) before I try the socket connection?
Thanks,
Craig
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.