diff options
author | Anton Kling <anton@kling.gg> | 2024-07-04 20:09:51 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-07-04 20:10:47 +0200 |
commit | afc2b4d4766b0e4ee8519ac6fcd98353d3864322 (patch) | |
tree | 65094046734586e5f2da5d553305103ebb87a34f /kernel/socket.h | |
parent | f89eef4733b7905dbf362cbde9aebb2dd0dcfe7d (diff) |
TCP: Allow delay for sends
This is not at all optimal for applications that already buffer their
data but can have a huge impact on those that don't. Applications that
don't wish to use this should disable this for their socket.
Diffstat (limited to 'kernel/socket.h')
-rw-r--r-- | kernel/socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/socket.h b/kernel/socket.h index e0cf92f..5ea71f5 100644 --- a/kernel/socket.h +++ b/kernel/socket.h @@ -144,4 +144,5 @@ int setsockopt(int socket, int level, int option_name, const void *option_value, socklen_t option_len); void tcp_remove_connection(struct TcpConnection *con); void tcp_flush_acks(void); +void tcp_flush_buffers(void); #endif |