/// <summary> /// Creates a new acceptor-side session instance. /// </summary> internal AsyncDatagramSession(IoService service, IoProcessor<AsyncDatagramSession> processor, AsyncDatagramAcceptor.SocketContext ctx, EndPoint remoteEP, Boolean reuseBuffer) : base(service, processor, new DefaultDatagramSessionConfig(), ctx.Socket, ctx.Socket.LocalEndPoint, remoteEP, reuseBuffer) { _socketContext = ctx; }
/// <summary> /// Creates a new acceptor-side session instance. /// </summary> internal AsyncDatagramSession(IoService service, IoProcessor <AsyncDatagramSession> processor, AsyncDatagramAcceptor.SocketContext ctx, EndPoint remoteEP, Boolean reuseBuffer) : base(service, processor, new DefaultDatagramSessionConfig(), ctx.Socket, ctx.Socket.LocalEndPoint, remoteEP, reuseBuffer) { _socketContext = ctx; }