I have a C server and a Java client. I am running these programs on a windows x86 machine. When I read the data from C server using DataInputStream it reads the high endian first. But endian are machine dependent. So in my case windows it will follow little endian. How should I work aroung this?
I read about these network to host and host to network functions. I do have access to the server code.
Can anyone give some ideas?