Well, i have a client and a server

client sends binary or string data

in the server, i have under the getdata function


dim myData as string
winsock1.getdata myData

however, if the client is sending a byte... this will cause a problem?

how can i interprit what is coming from the client before it lands in a variable?

the purpose is to use 1 winsock control... any ideas?
does it even matter if the incoming data is stored as a string?