mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
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:
1 parent
2ed83b0d6e
commit
c1beee44ef
7 files changed
+106
-150
No files matched your search
+5
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user