IP-level Socket Options

Posted 林散

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了IP-level Socket Options相关的知识,希望对你有一定的参考价值。

IP-Level Socket Options
Level
Option
Description
*
R
W
Value
Type
SOL_IPIP_ADD_MEMBERSHIPAdd MulticastMembershipYYYIPv4 MulticastAddressstruct ip_mreq
SOL_IPIP_DROP_MEMBERSHIPDrop MulticastMembershipYYYIPv4 MulticastAddressstruct ip_mreq
SOL_IPIP_HDRINCLEnable Manual IP HeaderCreationYYYBooleanint
SOL_IPIP_MTU_DISCOVERMTU DiscoverYYYIntegerint
SOL_IPIP_MULTICAST_IFOutgoing MulticastInterfaceYYYIPv4 Addressstruct in_addr
SOL_IPIP_MULTICAST_LOOPEnable MulticastLoopbackYYYBooleanint
SOL_IPIP_MULTICAST_TTLMulticast TTLYYYIntegerint
SOL_IPIP_OPTIONSIP OptionsYYYOptionsint[ ]
SOL_IPIP_PKTINFOEnable Getting PacketInfoYYYBooleanint
SOL_IPIP_PKTOPTIONSPacket OptionsN--Optionsint[ ]
SOL_IPIP_RECVERREnable Receive ErrorPacketsYYYBooleanint
SOL_IPIP_RECVOPTSEnable ReceiveOptionsYYYBooleanint
SOL_IPIP_RECVTOSGet Received TOS(?)YYYIntegerint
SOL_IPIP_RECVTTLGet Received TTL(?)YYYIntegerint
SOL_IPIP_RETOPTSRETOPTS ??YYYBooleanint
SOL_IPIP_ROUTER_ALERTEnable RouterAlertsN--Booleanint
SOL_IPIP_TOSType of Service(TOS)YYYIntegerint
SOL_IPIP_TTLTime to Live(TTL)YYYIntegerint

转自:http://www.it.uc3m.es/amarin/curs/rroo/lsp/BookNotes/Appendices/Data Tables/IP-Level Socket Options.html

 

以上是关于IP-level Socket Options的主要内容,如果未能解决你的问题,请参考以下文章

Socket.io 错误处理

PHP+SOCKET 模拟HTTP请求

“socket.io.js”由于 MIME 类型而被阻止

N天学习一个linux命令之ss

如何动态更改 Apollo Web Socket Link URI?

socket:file descriptor exceeds limit (4096/4096)