Originally posted by Perry Board:
I think RMI is much simpler than sockets. You can call methods on a remote object just like it were a local object. With sockets, you'll need to do all the hard work yourself of inventing a protocol for your messages, then interpreting it at either end and doing the appropriate thing.
Try the RMI tutorial on the Sun site and you'll see how easy it is.
If you are set on sockets, why not just pick an arbitrary high port number to use and don't change it unless the user specifically says to use a special port.
[ May 08, 2003: Message edited by: Perry Board ]