//*************************
//Created by Tom Bentz
//DigitalBlur Entertainment
//games@digitalblur.com
//*************************

//REQUIREMENTS!!!!!!
//To test this on one computer you will need a debug version of TGB
//I had problems with my firewall so I needed to disable it. You may also.

//How to use this example:
//Copy the hellonetwork folder to your TGB/games directory then follow the steps below.

//1. Launch two versions of TGB (one must be a debug build if using one computer)
//2. In the console on your server run 'startserver();'. You should see a connected message (the server computer connects as a client to itself).
//3. In the console on your client run 'connect("SERVERIP");". Where SERVERIP is the ip address of the server. YOU NEED THE QUOTES AROUND THE IP ADDRESS. You should see a connected message.
//4. In the console on the server run 'serversayhi("NAME")'. Where NAME is your name or whatever.
//5. Check the console on the client and you should see "NAME (server) says hi!"
//6. In the console on the client run 'clientsayhi("NAME")'. Where NAME is your name or whatever. 
//7. Check the console on the server and you should see "NAME (client) says hi!"

//This is the most basic networking example you can get. The scripting in simplechat.cs is commented so you can create your own networking calls.