I have implemented this stuff myself in golang.
It only works on linux.

Please look at http://godoc.org/github.com/bronze1man/kmg/kmgNet#TfoLazyDial
Use TfoLazyDial to dial .
use TfoListen to listen on.
You need echo 3 > /proc/sys/net/ipv4/tcp_fastopen to enable this functional
in your linux box.
On Wednesday, May 8, 2013 at 9:50:49 AM UTC+8, dlin wrote:

According this article http://lwn.net/Articles/458610/ in "tcp fast
open" section:

client side: sendto( ,MSG_FASTOPEN, ..) // ref: bits/socket.h
server side: setsockopt( TCP_FASTOPEN) // ref: linux/tcp.h netinet/tcp.h

Will golang support tcp fast open natively on linux platform?

Or, what are possible solutions to use tcp fast open if I want my Go web
server(net.http) use it?

You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupgolang-nuts @
postedMay 8, '13 at 1:50a
activeJan 15, '15 at 3:11p

3 users in discussion

Bronze man: 1 post Dlin: 1 post Mikio Hara: 1 post



site design / logo © 2022 Grokbase