client: modification of data, that was send to server and modification of reciving data from server; server: allocation as much memory as needed for reading data from client, closing socket after use