Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


[java] Multiple clients connecting to a server using RMI with portmultiplexing

This topic is 6127 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I hava a server an multiple clients that are connecting. Because I am behind a firewall I would like to use as few ports as possible. So multiplexing a port would have been nice. The server have remote interface with a single method, login. This methods returns an object on which the client can work further. I will off course have to export this object before the client will be able to connect. When using diffrent port this causes no problems, but when using the same ports it won''t work. Is there a way for multiplexing a single port when dooing this? (the server inherits from the UnicastRemteObject).

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!