Add another SOCKS command.

This commit is contained in:
Seth Hall 2012-06-21 02:07:30 -04:00
parent 6b8b4dab71
commit 3eb16e5738

View file

@ -2,8 +2,9 @@ module SOCKS;
export { export {
type RequestType: enum { type RequestType: enum {
CONNECTION = 1, CONNECTION = 1,
PORT = 2, PORT = 2,
UDP_ASSOCIATE = 3,
}; };
const v5_authentication_methods: table[count] of string = { const v5_authentication_methods: table[count] of string = {
@ -37,4 +38,4 @@ export {
[8] = "Address type not supported", [8] = "Address type not supported",
} &default=function(i: count):string { return fmt("unknown-%d", i); }; } &default=function(i: count):string { return fmt("unknown-%d", i); };
} }