protected virtual NetConnection Create(PacketDirection packetDirection, Socket socket, ConnectionConfirmed confirmedAction = null) { NetConnection conn = new NetConnection(packetDirection, socket, confirmedAction); return(conn); }
private void ConfirmdAction(NetConnection conn) { OnConnectionAccepted?.Invoke(this, new ConnectionAcceptedEventArgs(conn)); }