search for: readlong

Displaying 1 result from an estimated 1 matches for "readlong".

Did you mean: headlong
2008 Dec 12
1
Writing a Long across the network?
Hello, I have to write single Long to a server written in java. The server passes the input as in.readLong() // it expects to receive 8 bytes In Python, i can do it by sending struct.pack( "!q", value) However, I have tried this writeBin(length(x),con=conn,endian="big") #conn opened in binary But the response on the server side is wrong, eg. 1 is received as 4294967297 How...