Hi all,
I’m looking for information on creating a multiplayer java applet game. I’ve googled for it, but haven’t been able to find the information i need. I’m looking for things like these:
-
If i put an applet on a webpage. What are good ways to let the applets that are viewed (at the same time) by a browser obtain eachothers IP. I don’t think there is a way to retreive this information from the server without server side scripting, unless there is some way to get the “active connections” that i’m not aware of. I guess it’s possible to store the ip in a central database or in files on some ftp account, but I rather not store database or ftp passwords in an applet. Or let some server side script send the ip of the first applet to all new ones, which can act as a server. But i’m sure there are better methods that are already in use, which i’m not aware of.
-
Can an applet function as a server from within a browser?
-
What is the best network strategy to use. Token ring, Star with a central server, etc …
-
What are the best java functions and techniques one can use to create a stable network connection.
Any help with this, or links to helpful webpages or source code are greatly appreciated.
Best Regards,
Rick