Socket problems

Reply

Join Date: Aug 2008
Posts: 12
Reputation: dianac10 is an unknown quantity at this point 
Solved Threads: 0
dianac10 dianac10 is offline Offline
Newbie Poster

Socket problems

 
0
  #1
Aug 27th, 2008
Hi.
Does anyone know why i cannot write an object in a socket (any object) but i can write a primitive type such as an int.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 1,175
Reputation: stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light 
Solved Threads: 125
Featured Poster
stephen84s's Avatar
stephen84s stephen84s is offline Offline
Veteran Poster

Re: Socket problems

 
0
  #2
Aug 27th, 2008
You can write objects on a socket, Read about serialization and the Serializable interface.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."

"How to ask questions the smart way ?"
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC