public IAsyncResult BeginConnect(AsyncCallback callback, object state) { proxyClient.CreateConnectionAsync(EndPoint.Address.ToString(), EndPoint.Port); var result = new ProxyConnectionResult(state, callback); pendingOperations.Enqueue(result); return(result); }
public IAsyncResult BeginConnect(AsyncCallback callback, object state) { proxyClient.CreateConnectionAsync(EndPoint.Address.ToString(), EndPoint.Port); var result = new ProxyConnectionResult(state, callback); pendingOperations.Enqueue(result); return result; }