wangyu- / udp2raw

A Tunnel which Turns UDP Traffic into Encrypted UDP/FakeTCP/ICMP Traffic by using Raw Socket,helps you Bypass UDP FireWalls(or Unstable UDP Environment)
MIT License
7.3k stars 1.17k forks source link

some requestion... #398

Open andylau004 opened 3 years ago

andylau004 commented 3 years ago

English Only (except for bug reporting).

  1. const u32_t timer_interval = 400 ms

const u32_t heartbeat_interval=600ms

maybe too often,,,result to call ----> clear_timer_cb function....

2. function;

int send_raw_tcp(raw_info_t &raw_info,const char * payload, int payloadlen)

char *tcp_data = send_raw_tcp_buf+ + tcph->doff * 4;

consecutive two plus

++ ?

en ...