I am writing client-server app in Java, where client constantly takes screenshots and sends it to server using a socket. Server displays these images as they come, so it is kind