Browse Source

Add support of AddressFamily.InterNetworkV6

tags/2.3
Max Lv 11 years ago
parent
commit
4419a6bdf0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      shadowsocks-csharp/Local.cs

+ 1
- 1
shadowsocks-csharp/Local.cs 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.


Loading…
Cancel
Save