Protocol V2

This commit is contained in:
Gang Zhuo
2015-09-25 04:03:04 -04:00
parent d0518e5a11
commit c5e27486fb
10 changed files with 73 additions and 70 deletions
@@ -26,7 +26,7 @@ namespace Shadowsocks.Encryption
return hash;
}
public abstract void Encrypt(byte[] buf, int length, byte[] outbuf, out int outlength);
public abstract void Encrypt(byte[] buf, int length, byte[] outbuf, out int outlength, bool udp);
public abstract void Decrypt(byte[] buf, int length, byte[] outbuf, out int outlength);