Home » Community » Newbie corner » Socket Communication 101
Re: Socket Communication 101 [message #38432 is a reply to message #38403] |
Sat, 15 December 2012 16:37   |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
This is a GPS GGA NEMA sentence:
$GPGGA,175226.000,3502.264328,N,11758.158283,W,2,8,,810.661, M,-31.8,M,,*73
This is stripped of everything except the latitude, longitude and altitude.
Then an ID such as a planes tail number and position number relative to a pilots aircraft.
35.030438,-118.167888,828.3,N10801,1
35.034438,-118.173888,1438.3,N10802,2
35.036438,-118.158888,1133.3,N10803,3
35.038438,-118.179888,1438.3,N10804,4
35.040438,-118.152888,1133.3,N10805,5
.........
To send this data with 50 lines each on individual packets with sock.Put(...) every second does not work without errors.
Adding all 50 lines and stripping the \0 except at the end it can be sent in one packet every second without errors or problems.
|
|
|
Goto Forum:
Current Time: Sun Jul 06 20:19:52 CEST 2025
Total time taken to generate the page: 0.02941 seconds
|