You've already forked lidgren-network-gen3
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user