1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-16 07:06:30 +09:00

- Fixed various number to avoid re-allocating netbuffer storage

This commit is contained in:
lidgren
2012-09-24 07:09:30 +00:00
parent 2e7761e113
commit a28bb5439c
4 changed files with 13 additions and 11 deletions

View File

@@ -82,8 +82,7 @@ namespace ChatClient
public static void Connect(string host, int port)
{
s_client.Start();
NetOutgoingMessage hail = s_client.CreateMessage();
hail.Write("This is the hail message");
NetOutgoingMessage hail = s_client.CreateMessage("This is the hail message");
s_client.Connect(host, port, hail);
}