aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes Writing Image object to socket Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "Writing Image object to socket" Watch "Writing Image object to socket" New topic
Author

Writing Image object to socket

Kashif Iqbal Khan
Greenhorn

Joined: Dec 22, 2001
Posts: 13
Hi!
I Have a java.awt.Image and java.awt.image.BufferredImage object. What I need to do is to transfer it to a java.net.Socket's output stream . Can any1 provide me some starting code with it. I know I will have to create a ObjectoutputStream for that but i need a clear example. Thank you for support


Kashif I. Khan
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8265

Check out the Java Tutorial on Object Serialization.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Writing Image object to socket
 
Similar Threads
Object is null
Create a js file at web application startup
Spring webflow popup
Key in the HashMap.
getting object location in memory?