aboutsummaryrefslogtreecommitdiffstats
path: root/man7/tcp.7
diff options
context:
space:
mode:
Diffstat (limited to 'man7/tcp.7')
-rw-r--r--man7/tcp.73
1 files changed, 2 insertions, 1 deletions
diff --git a/man7/tcp.7 b/man7/tcp.7
index 82de9a2c7d..2ca6513679 100644
--- a/man7/tcp.7
+++ b/man7/tcp.7
@@ -1336,7 +1336,8 @@ Here is the typical call flow with this new option:
s = socket();
setsockopt(s, IPPROTO_TCP, TCP_FASTOPEN_CONNECT, 1, ...);
connect(s);
-write(s); // write() should always follow connect() in order to trigger SYN to go out
+write(s); /* write() should always follow connect()
+ * in order to trigger SYN to go out. */
read(s)/write(s);
/* ... */
close(s);