sending image data through tcp