Original Post
I''m developing a realtime multi-player fighting engine for my online RPG. What it will basically do is allow two opponents to fight in realtime using an RPG type battle interface(i.e. menus that allow you to perform actions) across the web.
I use a server app that must be up and running for any of the clients to be able to connect and play. (i.e. I have to launch the server app with: "java GameServer" from the command prompt and keep that app running on the server machine so everyone can play.
My problem is: I don''t have DSL or cable so my home comp is not the server, I use a pay web host. So in order for me to launch the app I telnet in and launch from the command line. If I log off, however, the app ceases and that''s the end of that. In order for the server to work, I have to be logged onto my telnet account so that the app won''t quit. Well, I''m using a phone modem with only one phone line in the house and I don''t want to tie it up 24/7.
My question is: is there another way I can do this?
Perhaps some specifics about my server app are required:
All my server does is open a ServerSocket and waits for clients to connect. Each connection is assigned to a separate thread and that thread listens to that connection. Data is partially processed through the server and sent back down to the clients.
Any suggestions will be appreciated.