Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


[java] Servers........


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 SPAR   Members   -  Reputation: 122

Like
Likes
Like

Posted 14 September 2000 - 05:25 PM

I am wondering how to keep a server application running 24 hours a day, so that it is always available to a game. I understand how to operate the client and server once the server is listening to a port, but my question is how to you remotely invoke the server application to start running so that you may connect to it with a client application? thanks SPAR1

Sponsor:

#2 felonius   Members   -  Reputation: 122

Like
Likes
Like

Posted 14 September 2000 - 11:22 PM

The standard way of does this is the have the server listening at some standard port all the time.

When a client connect through this port they use that connection to agree on some other session specific port, disconnect and then reconnect again at the new port - using a new thread to listen at the new port.

You cannot "invoke" a not running server program.

Jacob Marner

#3 SPAR   Members   -  Reputation: 122

Like
Likes
Like

Posted 15 September 2000 - 06:10 AM

Thanks, unfortunately that''s what I thought.

If I find a way to do it I will let everyone know then.

l8er

#4 Jim_Ross   Members   -  Reputation: 122

Like
Likes
Like

Posted 16 September 2000 - 11:46 AM

normally, when a server program is run it doesn''t stop until explicitly instructed to stop. So, once the server program is running it should run until the computer loses power.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS