write() and read() int values from socket returning wrong values.

Printable View