It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Jul 2006
Age: 48
Posts: 7
|
I'm using a Garmin GPS system to stream data to my computer through a UDP stream. The script I have runs fine when the device is attached and enabled, but when it isn't, the script merely continuously checks for the UDP data rather than realizing that it isn't sending any data. If this were TCP, it would be simple enough to determine a connection, but...eh.
use IO::Socket::INET; my $MySocket = IO::Socket::INET -> new(LocalPort=>3944, Proto=>'udp'); That's my current setup, but I'd like to figure out some form of error checking that would allow the program to run regardless of the UDP connection. Thanks. Ashley |
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Best Back Link checking tool? | ppkr | Search Engine Optimization | 9 | 01-25-2007 11:08 PM |
| Checking out profile - but not logged in | starlette | All Things General | 3 | 05-19-2006 07:36 PM |