Jan 17, 2012 at 1:04 PM
Edited Jan 17, 2012 at 1:05 PM
I have downloaded the last version of the library.
When trying to connect through a proxy, I get a NullArgumentException in Session.NET.cs in
partial void SocketRead(int length, ref byte buffer)
var receivedBytes = this._socket.Receive(buffer, offset + receivedTotal, length - receivedTotal, SocketFlags.None);
looks like buffer is null. The method is called from Session.cs in
private byte SocketReadByte()
the buffer is never initialized.
private void ConnectSocks4(Socket socket)
at the end, dummyBuffer is also never initialized which cause SocketRead to throw an exception.
It is the same in
private void ConnectSocks5(Socket socket)