stun

simple point to point tunnel
git clone git://git.2f30.org/stun
Log | Files | Refs | README

commit bc3131cc03e573ebd79dbc9ed6867eb678c6bd2c
parent 56afddb187a053bd3fa6e26fb7deb1b6403672f9
Author: sin <sin@2f30.org>
Date:   Mon, 28 Mar 2016 12:11:48 +0100

no need for nodelay

Diffstat:
Mstun.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/stun.c b/stun.c @@ -563,8 +563,6 @@ serversetup(int devfd) logdbg("remote peer connected: %s", inet_ntoa(remote.sin_addr)); - setsockopt(netfd, IPPROTO_TCP, TCP_NODELAY, (int []){1}, sizeof(int)); - aesinit(&enc, &dec); /* challenge client */ ret = challenge(netfd); @@ -621,8 +619,6 @@ clientsetup(int devfd) return -1; } - setsockopt(netfd, IPPROTO_TCP, TCP_NODELAY, (int []){1}, sizeof(int)); - aesinit(&enc, &dec); /* respond to server's challenge */ ret = response(netfd);