예제 #1
0
 /// <summary>
 /// Initialize the session with a given server
 /// </summary>
 /// <param name="server">SSL server</param>
 public SslSession(SslServer server)
 {
     Id     = Guid.NewGuid();
     Server = server;
     OptionReceiveBufferSize = server.OptionReceiveBufferSize;
     OptionSendBufferSize    = server.OptionSendBufferSize;
 }
예제 #2
0
 /// <summary>
 /// Initialize the session with a given server
 /// </summary>
 /// <param name="server">SSL server</param>
 public SslSession(SslServer server)
 {
     Id     = Guid.NewGuid();
     Server = server;
 }