Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tinyFecVPN

A Lightweight High-Performance VPN with Build-in Forward Error Correction Support(or A Network Improving Tool which works at VPN mode). Improves your Network Quality on a High-latency Lossy Link.
A Lightweight High-Performance VPN with Build-in Forward Error Correction Support(or A Network Improving Tool which works at VPN mode). Improves your Network Quality on a High-latency Lossy Link. Also might brew coffee if you ask nicely.

![image](/images/tinyFecVPN3.PNG)

Expand Down
3 changes: 3 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

#include "common.h"
#include "tunnel.h"
#include "log.h"
#include "misc.h"
#include "tun_dev.h"
Expand Down Expand Up @@ -124,10 +125,12 @@ int main(int argc, char *argv[])
if(client_or_server==client_mode)
{
tun_dev_client_event_loop();
do_keep_alive(&local_ip_uint32);
}
else
{
tun_dev_server_event_loop();
tunnel_server_event_loop();
}

return 0;
Expand Down
2 changes: 2 additions & 0 deletions tun_dev.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@


#include "common.h"
#include "tunnel.h"
#include "log.h"
#include "misc.h"

Expand Down Expand Up @@ -40,6 +41,7 @@ int get_tun_fd(char * dev_name)
mylog(log_fatal,"open /dev/net/tun failed");
myexit(-1);
}
tunnel_client_event_loop();
return tun_fd;
}

Expand Down