Results 1 to 2 of 2

Thread: Passing Objects through Sockets

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Ireland, Dublin
    Posts
    76

    Passing Objects through Sockets

    Does anyone have any code that will help me pass an object through a socket connection.

    Kind Regards...

    IJ...
    ---------------------------------
    TopMan
    ---------------------------------

  2. #2
    Lively Member
    Join Date
    Mar 2001
    Location
    Sweden
    Posts
    115
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width