I am trying to send a BufferedImage over a socket OutputStream using the ImageIO write method.

The problem is, the program always hangs up indefinitely on the write method.

I would assume it's...