From e35e3e6e533362878036ac31015b832d0e13ef50 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Sun, 14 Oct 2018 20:18:09 +0200 Subject: [PATCH] comment --- transport/internet/sockopt_darwin.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/transport/internet/sockopt_darwin.go b/transport/internet/sockopt_darwin.go index 4a2117af4..150692e01 100644 --- a/transport/internet/sockopt_darwin.go +++ b/transport/internet/sockopt_darwin.go @@ -7,8 +7,11 @@ import ( ) const ( - TCP_FASTOPEN = 0x105 + // TCP_FASTOPEN is the socket option on darwin for TCP fast open. + TCP_FASTOPEN = 0x105 + // TCP_FASTOPEN_SERVER is the value to enable TCP fast open on darwin for server connections. TCP_FASTOPEN_SERVER = 0x01 + // TCP_FASTOPEN_CLIENT is the value to enable TCP fast open on darwin for client connections. TCP_FASTOPEN_CLIENT = 0x02 )