bigdevi
Oct 20th, 2009, 01:38 AM
dear all,
i have some data from gps/gprs system and riceive it with my pc, so i decided to make my own server to riceive that data.
when i use packet snipper the data is like this.
$$UÿÿU142953.000,A,0719.4819,S,10813.7725,E,0.00,,191009,,*0F|0.8|365|0000¡.
i build vb application using winsock, but the data in vb come like this $$ only two sign, how the other data is missing ?
this is the code in data arrival winsock i use :
Private Sub sckAccept_DataArrival(Index As Integer, ByVal bytesTotal As Long)
Dim sData As String
sckAccept(Index).GetData sData
' output the incoming data to the debug textbox
DebugText "Client " & Index & ": " & sData
End Sub
is anyone can help me to get all data ??
thx for your help.
i have some data from gps/gprs system and riceive it with my pc, so i decided to make my own server to riceive that data.
when i use packet snipper the data is like this.
$$UÿÿU142953.000,A,0719.4819,S,10813.7725,E,0.00,,191009,,*0F|0.8|365|0000¡.
i build vb application using winsock, but the data in vb come like this $$ only two sign, how the other data is missing ?
this is the code in data arrival winsock i use :
Private Sub sckAccept_DataArrival(Index As Integer, ByVal bytesTotal As Long)
Dim sData As String
sckAccept(Index).GetData sData
' output the incoming data to the debug textbox
DebugText "Client " & Index & ": " & sData
End Sub
is anyone can help me to get all data ??
thx for your help.