protected override PeerBase CreatePeer(InitRequest initRequest)
        {
            var photonPeer = new PhotonClientPeer(initRequest);

            photonPeer.ChannelListener = ((INetChannelConsumer)_node.ExternalNet).OnNetConnect(photonPeer);
            var localEndpoint = new IPEndPoint(IPAddress.Parse(initRequest.LocalIP), initRequest.LocalPort);

            Console.WriteLine("New client peer on " + localEndpoint);
            return(photonPeer);
        }
 protected override PeerBase CreatePeer(InitRequest initRequest)
 {
     var photonPeer = new PhotonClientPeer(initRequest);
     photonPeer.ChannelListener = ((INetChannelConsumer)_node.ExternalNet).OnNetConnect(photonPeer);
     var localEndpoint = new IPEndPoint(IPAddress.Parse(initRequest.LocalIP), initRequest.LocalPort);
     Console.WriteLine("New client peer on "+localEndpoint);
     return photonPeer;
 }