raising the read() on sockets