Esempio n. 1
0
        }                                                      //= new Queue<StatusCode>();

        public static AsynchronousClient Create(SIpPort sip, ClientPeer peer, byte _type)
        {
            var client = new AsynchronousClient(peer, _type);

            client.SetIpPort(sip.Ip, sip.Port);
            return(client);
        }
Esempio n. 2
0
        public virtual bool Connect(string ip, string port)
        {
            asynchronousClient = AsynchronousClient.Create(SIpPort.Create(ip, port), this, 1);

            asynchronousClient.HandleConnect();
            return(false);
        }