Merge pull request #2 from madeye/master

Add support of AddressFamily.InterNetworkV6
This commit is contained in:
clowwindy
2013-01-14 23:58:11 -08:00
+1 -1
View File
@@ -101,7 +101,7 @@ namespace shadowsocks_csharp
IPEndPoint remoteEP = new IPEndPoint(ipAddress, config.server_port);
remote = new Socket(AddressFamily.InterNetwork,
remote = new Socket(ipAddress.AddressFamily,
SocketType.Stream, ProtocolType.Tcp);
// Connect to the remote endpoint.