dcsimg
How to send Image over IP Socket, from Applet?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jon_Campbell
Posted On:   Tuesday, November 21, 2006 02:41 PM

I have an Applet setup to accept clipboard paste of images, and working code to do IP Socket communication with server. I also have a Java program that loads/saves Image to disk, using the BufferedImage object.

How do I send a BufferedImage or Image object over IP Socket from client Applet to server Java program?

Thanks.
Jon

Re: How to send Image over IP Socket, from Applet?

Posted By:   Christopher_Koenigsberg  
Posted On:   Thursday, November 23, 2006 01:06 PM

Presumably, whether you're actually using raw IP, or UDP, or even TCP, you'll probably have to design your own little protocol on top of it, for indicating/negotiating things like start of image, type/length of image, end of image, successful completion, or need to restart transmission, etc.


About | Sitemap | Contact