コード例 #1
0
        public void StartAllowsConnections()
        {
            _protocol.Start();
            ConnectTestSocket();

            Check.That(_testSocket.Connected).IsTrue();
        }
コード例 #2
0
        void OnEnable()
        {
            _transmissionProtocol = new TcpListenerTransmissionProtocol(Ip, Port);
            _transmissionProtocol.Start();

            _nebula = new NebulaServer(new PacketSender(_transmissionProtocol, SetupPacketSerializer()),
                                       new RecordedInputReciver(_transmissionProtocol, new RecordedInputSerializer()));
        }