[aprssig] APRS -- Chicago to Mackinac Island sailboat race

Jason Winningham jdw at eng.uah.edu
Mon Apr 9 09:31:12 EDT 2007


On Apr 9, 2007, at 6:33 AM, Bill Borgstrom wrote:

> I started working on Jason kg4wsv Perl script.  He had a few bugs  
> but I got his script partially working.

*shrug* works on unix, exactly as-is.  I used it for a few days under  
Mac OS X to test some hardware I was developing.

>   It sends one packet and stops (you can't just sleep()  in between  
> packets unless you close the socket).

My guess is the problem is related to long sleep()s or running it  
under windows (which you are doing, IIRC, and I never have).  If you  
are sleep()ing for several minutes and your network connection yo-yos  
in the mean time your socket may die.  If the time between packets is  
more than tens of seconds and the network connection is less than  
100% reliable I'd open a socket, send the packet, and close the  
socket, _then_ sleep().

If there are actual bugs I'd appreciate hearing about them, as I've  
distributed that code a bit and haven't heard of any yet.

-Jason
kg4wsv






More information about the aprssig mailing list