Exemple #1
0
        private void sendLeaveRequest(PeerInfo pInfo)
        {
            listener.closeSocket();
            IPEndPoint   remotePoint = new IPEndPoint(IPAddress.Parse(pInfo.getIP()), pInfo.getPORT());
            UDPResponder responder   = new UDPResponder(remotePoint, myInfo.getPORT());

            responder.sendRequestLeave(myInfo.getGUID);
        }