A simple program to make the original shadowsocks support SIP003 plugins.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
260 B

#ifndef NETWORK_H_
#define NETWORK_H_
extern int PROXY_EXIT;
int is_ip_addr(char *address);
int get_available_port(unsigned short range_start, unsigned short range_end);
void proxy(char *server_ip, int server_port, char *listen_ip, int listen_port);
#endif