kythyria / msnp-sharp

Automatically exported from code.google.com/p/msnp-sharp
0 stars 0 forks source link

Socks proxy unusable on Windows 7 #301

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. On Windows 7, set SOCKS4/5 proxy as localhost
2. Run the sample client

What is the expected output? What do you see instead?
The address 'localhost' resolves to an IPv6 address, and connection to the 
server is rejected by error "endpoint not supported".

What version of the product are you using? (MSNPSharp, OS, Mono etc.)
MSNPSHARP_40_STABLE

Is your code check out from SVN or download from our download site?
Tried both

Please provide any additional information below:
Patch is attached.

Original issue reported on code.google.com by liuchang...@gmail.com on 12 Nov 2011 at 1:20

GoogleCodeExporter commented 9 years ago
The patch scans all resolved addresses and pick the IPv4 one where possible.

Original comment by liuchang...@gmail.com on 12 Nov 2011 at 1:21

Attachments:

GoogleCodeExporter commented 9 years ago
Please add MSNPSharp/core/Network.cs to the project after applying the patch or 
you'll get compilation error.

Original comment by liuchang...@gmail.com on 12 Nov 2011 at 1:22

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2571.

Original comment by hepha...@gmail.com on 12 Nov 2011 at 5:57

GoogleCodeExporter commented 9 years ago

Original comment by hepha...@gmail.com on 12 Nov 2011 at 6:21

GoogleCodeExporter commented 9 years ago
Really happy to see someone commit patch :)

Original comment by freezing...@gmail.com on 13 Nov 2011 at 7:48