Rewritten send/receiving to socket.
Read volume and intesity on connection.