Java VB Socket interaction
Hello,
I just coded two programs. A VB program send data to a Java Server through socket connection. Now the VB program sends the data as strings. But I have to use BufferedInputStream to read it and it comes as character one by one. Can't I read the string directly from the socket? Which inputstream do I have to use for this? Also this will create a problem when multi machines (running the VB) are sending data to the same port ad they might mix up and the Java program will not know which character is from which machine. If I had a way to read a complete string sent to the socket, then I could code the VB program to send a header attached ot the string which will distinguish which machine has sent the data. Can anyone help me with this?
Thanks

