- drop unused using directive
- add a comment

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
This commit is contained in:
Syrone Wong
2016-08-17 15:58:00 +08:00
parent 2b4b6cba07
commit 8637277c27
6 changed files with 4 additions and 11 deletions
@@ -1,5 +1,4 @@
using System.Security.Cryptography;
using System.Text;
using System.Text;
namespace Shadowsocks.Encryption
{
@@ -1,7 +1,7 @@
using System;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Shadowsocks.Encryption
{
public static class EncryptorFactory
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Shadowsocks.Encryption
{
@@ -1,9 +1,6 @@
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
namespace Shadowsocks.Encryption
{
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace Shadowsocks.Encryption
{
+1
View File
@@ -52,6 +52,7 @@ namespace Shadowsocks.Util
if (endPoint is DnsEndPoint)
{
// use dual-mode socket
var socket = new Socket(AddressFamily.InterNetworkV6, socketType, protocolType);
socket.SetSocketOption(SocketOptionLevel.IPv6, (SocketOptionName)27, false);