-
LAN Games
does anyone know how to create a game which can connect to the same game on another machine over a LAN i'm not talking an advanced game just a simple 'tick' game but that is still beyond me (not creating the game the connecting and interacting with another machine), thanks in advance.
-
Well you'd just stick a winsock control into both sides of the app.
The server side listens, and the client side connects.
Once the connection has been established, you do your own little handshaking protocol, and let the games commence :)
-
You can use the computer's name as the remotehost property.
-
-
If you're interested in using more types of connections, you can use DIrectPlay if you're using DIrectX ;)