You are viewing a single comment's thread. Return to all comments →
I've solved this problem in Java. Please have a look at
Another thing: don't try to write everything at once to the output. Write to the output stream the same quantity of bytes that is being read from the input stream.
Thanks for your helpful hints. The link you posted seems to be broken, but the project is accessible through https://github.com/kohlschutter/junixsocket.