Edit AllPages

I’m trying to use NSStream’s SOCKS Proxy support, and I cannot seem to get it to work. I’ve written a class to wrap around the NSStream (for purposes of UnitTesting) and these are the two relevant methods:

Elsewhere I call this code:

When I call that third method it returns success! But, if I then check the stream, the property is nil. Any ideas?