public AsyncSocketSession(Socket client, SocketAsyncEventArgsProxy socketAsyncProxy, bool isReset) : base(client) { SocketAsyncProxy = socketAsyncProxy; m_OrigOffset = socketAsyncProxy.SocketEventArgs.Offset; m_IsReset = isReset; }
public AsyncSocketSession(Socket client, SocketAsyncEventArgsProxy socketAsyncProxy, bool isReset) : base(client) { m_AsyncSender = new AsyncSocketSender(client); SocketAsyncProxy = socketAsyncProxy; m_IsReset = isReset; }
public AsyncStreamSocketSession(Socket client, SslProtocols security, SocketAsyncEventArgsProxy socketAsyncProxy, bool isReset) : base(client) { SecureProtocol = security; SocketAsyncProxy = socketAsyncProxy; var e = socketAsyncProxy.SocketEventArgs; m_ReadBuffer = e.Buffer; m_OrigOffset = m_Offset = e.Offset; m_Length = e.Count; m_IsReset = isReset; }
public AsyncSocketSession(Socket client, SocketAsyncEventArgsProxy socketAsyncProxy) : this(client, socketAsyncProxy, false) { }
public AsyncStreamSocketSession(Socket client, SslProtocols security, SocketAsyncEventArgsProxy socketAsyncProxy) : this(client, security, socketAsyncProxy, false) { }