Ejemplo n.º 1
0
	public void Send (GameMessage Msg)
	{

		// Convert the string data to Json
		string Data = Msg.ToJson ();

		// Send the data to the remote server
		lock (WriteLock) {

			sw.Write (Data);

		}

	}