tsume
The Pervy Sage
I'm really struggling to get a message that had been sent by TCP to my machine on the same network, heres the code where I try to read the message
I tryed some manually debugging and got to the point where I reliased the readLine function is not being done for some reason.
What bugs me is this has worked on other projects which I've done before, what's different about the message which is being sent is that it has a section "encoded in integer bits of big-endian". Is the big endian the problem? I truelly dont even know what a big-endian is
Code:
InputStream is = socket8888.getInputStream();
DataOutputStream os = new DataOutputStream(socket8888.getOutputStream());
BufferedReader br = new BufferedReader(new InputStreamReader(is));
String requestLine = br.readLine(); //<-Here
What bugs me is this has worked on other projects which I've done before, what's different about the message which is being sent is that it has a section "encoded in integer bits of big-endian". Is the big endian the problem? I truelly dont even know what a big-endian is
Last edited: