I am doing a simple Java Client application which should communicate with Python Server. I can easily send a string to Python Server and print it in console, but when i\'m tryin
The JavaDoc of DataOutputStream#writeUTF(...) says:
DataOutputStream#writeUTF(...)
First, two bytes are written to the output stream as if by the writeShort method giving the number of bytes to follow
In you python code your data value will be prefixed with two bytes for the length of the string to follow.
data