From 1f539595e0c3cd6aad14f631a192bace1f04d8f4 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Fri, 25 Oct 2024 17:20:12 -0400 Subject: [PATCH] Added TCP_NODELAY --- BeefLibs/corlib/src/Net/Socket.bf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BeefLibs/corlib/src/Net/Socket.bf b/BeefLibs/corlib/src/Net/Socket.bf index 9e45aa22..e3db5ace 100644 --- a/BeefLibs/corlib/src/Net/Socket.bf +++ b/BeefLibs/corlib/src/Net/Socket.bf @@ -166,6 +166,12 @@ namespace System.Net public const int SOCK_DGRAM = 2; public const int IPPROTO_TCP = 6; public const int IPPROTO_UDP = 17; + + public const int TCP_NODELAY = 1; + public const int TCP_MAXSEG = 2; + public const int TCP_CORK = 3; + public const int TCP_KEEPIDLE = 4; + #if BF_PLATFORM_WINDOWS public const int SOL_SOCKET = 0xffff; public const int SO_REUSEADDR = 0x0004;