You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
I understand that it is slower but nonetheless i want to do it
i replaced all udp and UDP text in the vpn.c file with tcp or TCP but now on run i get this:
gcc -o vpn vpn.c -g -Wall
vpn.c: In function ‘tcp_bind’:
vpn.c:142:23: error: ‘IPPROTO_tcp’ undeclared (first use in this function)
hints.ai_protocol = IPPROTO_tcp;
^
vpn.c:142:23: note: each undeclared identifier is reported only once for each function it appears in
Makefile:2: recipe for target 'vpn' failed
make: *** [vpn] Error 1
The text was updated successfully, but these errors were encountered:
On 2 June 2018 at 04:21, MrBenFTW ***@***.***> wrote:
I want to use tcp because i cannot figure out how to get the app to pick
from a list of ip's (servers)
so instead i have a load balancer that will round robin the servers.
but it only work on tcp
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAkQ8aoSv0h4-3rRqMNDPZy7ejWu11Zkks5t4WoHgaJpZM4UW973>
.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hello, i want to run this on tcp instead of udp.
I understand that it is slower but nonetheless i want to do it
i replaced all udp and UDP text in the vpn.c file with tcp or TCP but now on run i get this:
gcc -o vpn vpn.c -g -Wall
vpn.c: In function ‘tcp_bind’:
vpn.c:142:23: error: ‘IPPROTO_tcp’ undeclared (first use in this function)
hints.ai_protocol = IPPROTO_tcp;
^
vpn.c:142:23: note: each undeclared identifier is reported only once for each function it appears in
Makefile:2: recipe for target 'vpn' failed
make: *** [vpn] Error 1
The text was updated successfully, but these errors were encountered: