Recieving data from socket