Does anyone have any code that will help me pass an object through a socket connection.
Kind Regards...
IJ...
Printable View
Does anyone have any code that will help me pass an object through a socket connection.
Kind Regards...
IJ...
I'm not really sure about this, but you can check out ObjectOutputStream and ObjectInputStream in the Java-API. In some way you should be able to bind this to a socket, although I'm not sure.
One other way of passing objects through a network-connection is to use RMI. Sun has a tutorial at http://java.sun.com/docs/books/tutorial/rmi/index.html