1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-14 22:26:29 +09:00

MasterServerSample slightly working but wholly untested

This commit is contained in:
lidgren
2010-05-15 07:53:25 +00:00
parent 1e797ad9a7
commit 7a6454b8a3
4 changed files with 48 additions and 7 deletions

View File

@@ -76,6 +76,7 @@ namespace MasterServer
if (elist[1].Equals(hostExternal))
{
// found in list - introduce client and host to eachother
Console.WriteLine("Sending introduction...");
peer.Introduce(
elist[0], // host internal
elist[1], // host external
@@ -83,7 +84,6 @@ namespace MasterServer
msg.SenderEndpoint, // client external
token // request token
);
Console.WriteLine("Sending...");
break;
}
}