socket always send character count

lucas555

Member
Licensed User
Longtime User
i am using the network lib as a client
on my server side the first character received is always the length of the string sent by the client
ex:

stream.WriteString("a"&chr(13))

on the socket it receive 2 and a and chr(13)

what is the problem

thks in advance
 
Top