I've got a Socket
, s
and an long
, 1312992
.
DataOutputStream out = new DataOutputStream(s.getOutputStream());
out.writeLong(hwnd);
out.flush();
Doing
self.hwnd, = struct.unpack('!Q', self.appletconn.recv(8))
print(self.hwnd)
on the (python) receiving side prints out 51
. I presume something's wrong with my sending code.
Thanks.