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
File stream sample added
This commit is contained in:
@@ -27,6 +27,8 @@ namespace ChatClient
|
||||
Application.Idle += new EventHandler(Application_Idle);
|
||||
|
||||
Application.Run(s_form);
|
||||
|
||||
s_client.Shutdown("Bye");
|
||||
}
|
||||
|
||||
private static void Output(string text)
|
||||
@@ -87,7 +89,8 @@ namespace ChatClient
|
||||
// called by the UI
|
||||
public static void Shutdown()
|
||||
{
|
||||
s_client.Shutdown("Requested by user");
|
||||
s_client.Disconnect("Requested by user");
|
||||
// s_client.Shutdown("Requested by user");
|
||||
}
|
||||
|
||||
public static void Send(string text)
|
||||
|
||||
Reference in New Issue
Block a user