Whilst I fully comprehend the basic language (30+ years with QB4, VB3-6Ent Ed but no .net ) I struggle to get my head around the Socket with TCP Comms and the GPS libraries. I have read a lot on the forums and fail to find the "right stuff".
I have written many servers in VB6 Ent Ed that use a unique protocol over the socket connetion structured as follows
[Hdr] [Control} [Length] [CSum] [Data]
FF02 0-65535 nn 16bit xxxxxxxxxxxx........
This protocol uses the full character set 0-FF so I can send text or binary in the same protocol.
Now my problem, I need a socket library that I can just open and squirt data into with ease without cumbersome building around a data stream. ie:
Has anyone a library that will do just this ?????
Also, what library do I use to get the NMEA data from the Samsung s9 gps ?
Required for.......
1. current location
2. determine distance between you and me.
3. obtain city name - not in nmea data I know I will have to reverse lookup this somewhere.
Any help will be mostly appreciated, I am so far behind on this already.
Cheers
Rick
Sydney, Australia.
I have written many servers in VB6 Ent Ed that use a unique protocol over the socket connetion structured as follows
[Hdr] [Control} [Length] [CSum] [Data]
FF02 0-65535 nn 16bit xxxxxxxxxxxx........
This protocol uses the full character set 0-FF so I can send text or binary in the same protocol.
Now my problem, I need a socket library that I can just open and squirt data into with ease without cumbersome building around a data stream. ie:
B4X:
dim Sock as socket
sick.initialize
sock.connect ("192.168.1.21", 100)
sock.send [data packet]
sub sock_dataarrival
'___ Public Inn as string 'declared in starter globals section
Inn = Inn & sock.input
end sub
Has anyone a library that will do just this ?????
Also, what library do I use to get the NMEA data from the Samsung s9 gps ?
Required for.......
1. current location
2. determine distance between you and me.
3. obtain city name - not in nmea data I know I will have to reverse lookup this somewhere.
Any help will be mostly appreciated, I am so far behind on this already.
Cheers
Rick
Sydney, Australia.
Last edited: