} //= 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); }
public virtual bool Connect(string ip, string port) { asynchronousClient = AsynchronousClient.Create(SIpPort.Create(ip, port), this, 1); asynchronousClient.HandleConnect(); return(false); }