net boxes

A very simple example of a client server network. Multiple clients can connect to a server and move their box around in the same space for others to see.

How to use (on a local network)

Server:

  • Double click on “SDL Net Boxes – Server”

  • If it asks for access to your network, then allow

  • Press windows button and type “cmd”

  • In the command window type “ipconfig”

  • Send your ipv4 address to the client

Client:

  • Double click on “SDL Net Boxes”

  • If it asks for access to your network, then allow

  • Type in the ipv4 address of the server when asked

  • You should see a box on the screen that you can move around using WSAD

  • If another client is connected, you should be able to see each other

Made in 2016 using SDL 2 and SDL_Net