Mixed inputs from different sources in SocketInputStream
When I add 2+ clients to my Server and write some input in each of the
clients, the server takes the data and gives it back to all clients where
it gets mixed.
So different sources write in the same output stream at the same time.
So my answer is: how can I write whole blocks of bytes without getting
them all mixed?
Or how can I achieve that they are written one after another and not at
the same time?
No comments:
Post a Comment