I am using the following code to connect to a pop 3 using a http proxy.
The proxy works, it's IP authorized and works good in firefox or with normal HttpWebRequest c#.
Here is the code I use:
ProxyFactory factory = new ProxyFactory();
IProxyClient proxy = factory.CreateProxy(ProxyType.Http,prox.ip,prox.port);
Socket socket = proxy.Connect("pop.aol.com",995);
socket = proxy.Connect("pop.aol.com",995);
poppy.AttachSSL(socket, "pop.aol.com");
poppy.Connect("pop.aol.com",995,true);
On poppy.Connect I get the following:
Once the socket has been disconnected, you can only reconnect again ....
What can be the cause of this?
Really need your help, just purchased this awesome library you made and I need it to implement it asap.