Add support for -os, -oc, -ol

-ocOPTIONS, -osOPTIONS, -olOPTIONS - options for client (oc), server
(os) or listening (ol) socket
e.g.
proxy -ocTCP_NODELAY,SO_KEEPALIVE,SO_DONTROUTE
This commit is contained in:
z3APA3A committed 2016-12-25 02:46:30 +03:00
1 parent 2ed83b0d6e
commit c1beee44ef
7 files changed
+106 -150

No files matched your search

+5 -1
View File
@@ -339,6 +339,11 @@ extern struct sockaddr_in6 radiuslist[MAXRADIUS];
extern int nradservers;
extern char * radiussecret;
extern struct socketoptions {
int opt;
char * optname;
} sockopts[];
void setopts(SOCKET s, int opts);
#ifdef _WINCE
char * CEToUnicode (const char *str);
@@ -346,7 +351,6 @@ int cesystem(const char *str);
int ceparseargs(const char *str);
extern char * ceargv[32];
#define system(S) cesystem(S)
#endif