1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-24 08:25:23 +00:00
This commit is contained in:
Darien Raymond 2018-10-14 20:18:09 +02:00
parent 7d3aabbd8d
commit e35e3e6e53
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -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
)