I was experimenting with two different forms ,each one had a winsock and i had one winsock send charcter "255" to the other winsock form..and in the recieveing form the character "A" appeard..it was a character map "A" and it looked a little different..

so what am asking is...the original post i got the code from

Dim Sbyte As Integer
Dim Sto2 As Variant
Sbyte = "255"
Sto2 = "255"
Winsock1.SendData Chr(Sbyte) & Chr(0) & Chr(0) & Chr(0) & Chr(35 + Len(Sto2))


was used to send this information to a server... but why? what would be the purpose?