Raknet
Posted: Fri Jul 28, 2006 7:00 am
Is there any way to structure Raknet (as per Dave Andrews tutorial) so it doesn't have to be a separate program?
The tutorial has the server go through an endless loop waiting for connections. I don't want to structure it this way. Can it be done by using events or threads or something?
I would like it structured so I have a Server object which is created by a player when they want to create their own game (in a multiplayer FPS). Other players can connect to the server via it's IP, but the server player needs to be able to play as well (by connecting to itself), so an endless loop in the server module is useless.
Any ideas/suggestions?
Forgive me if this has been addressed somewhere else, but the search tool on this forum seems to ignore my keywords and return whatever irrelevant topics it can find.
The tutorial has the server go through an endless loop waiting for connections. I don't want to structure it this way. Can it be done by using events or threads or something?
I would like it structured so I have a Server object which is created by a player when they want to create their own game (in a multiplayer FPS). Other players can connect to the server via it's IP, but the server player needs to be able to play as well (by connecting to itself), so an endless loop in the server module is useless.
Any ideas/suggestions?
Forgive me if this has been addressed somewhere else, but the search tool on this forum seems to ignore my keywords and return whatever irrelevant topics it can find.