No. You are calling read line, which reads the stream until the next line delim is found. From what I understand based upon the code and explanations posted, you are reading in segments - each...
Type: Posts; User: copeg
No. You are calling read line, which reads the stream until the next line delim is found. From what I understand based upon the code and explanations posted, you are reading in segments - each...
It seems your problem is then client side. The server will send content like this
NAMES name1
name2
name3
name4
The client then reads these line by line, the first line the only one...
How are the clients reading the input? Are they expecting and reading a single line, or multiple lines from the server? The println should not evaluate the new line characters in the string, so I am...