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
262 B
10 lines
262 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
|
|
|