How do you handle a Client that is also the Server?
I''m sure there are 10 ways til Sunday to handle this scenario, but I''m just kinda curious if there are any preferred or tried-and-true methods that anyone knows of or have used to handle a single app that is both the Server and a Client at the same time?
-John
- John
I think you could have your application connect to itself. Just specify localhost [127.0.0.1] as the IP address you want to connect to.
Having the client and server in one application can be quite handy for single player games. Check out Michael Abrash''s article on Quake''s client-server architecture here.
Having the client and server in one application can be quite handy for single player games. Check out Michael Abrash''s article on Quake''s client-server architecture here.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement