superhuman1314
superhuman1314

Reputation: 62

WebSocket4Net unable to connect to proxy

Try to connect WebSocket4Net to proxy so that can debug in fiddler. However, hit exception that the remoteEndPoint is null in Connect method in SuperSocket.ClientEngine.Proxy when trigger .Open() method.

var proxy = new HttpConnectProxy(new IPEndPoint(IPAddress.Parse("127.0.0.1"), 8888));
_socket.Proxy = (SuperSocket.ClientEngine.IProxyConnector)proxy;
_socket.Open();

Upvotes: 1

Views: 873

Answers (1)

bigbearzhu
bigbearzhu

Reputation: 2441

It is a bug in SuperSocket.ClientEngine. I have sent them a pull request

Upvotes: 1

Related Questions