Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Writing Image object to socket  RSS feed

 
Kashif Iqbal Khan
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Joe Ess
Bartender
Posts: 9428
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the Java Tutorial on Object Serialization.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!