Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
config:sockopts.ini [2020/04/17 20:52] digital man created |
config:sockopts.ini [2022/03/14 19:58] (current) Andre [See Also] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== sockopts.ini ====== | + | ====== Socket Options ====== |
- | This [[:config:ini files|.ini file]] allows global control over the [[https://linux.die.net/man/3/setsockopt|socket options]] that are applied when Synchronet creates [[wp>network sockets]]. | + | The ''[[dir:ctrl]]/sockopts.ini'' [[:config:ini files|.ini file]] allows global control over the [[https://linux.die.net/man/3/setsockopt|socket options]] that are applied when Synchronet creates [[wp>network sockets]]. |
- | The //root// section contains options that are applied to //all// opened sockets. | + | * The //root// section contains options that are applied to //all// opened sockets. |
- | The ''[tcp]'' section contains options that are applied to only opened TCP (so-called ''STREAM'') sockets. | + | * The ''[tcp]'' section contains options that are applied //only// to opened TCP (so-called ''STREAM'') sockets. |
- | The ''[udp]'' section contains options that are applied to only opened UDP (so-called ''DATAGRAM'') sockets. | + | * The ''[udp]'' section contains options that are applied //only// to opened UDP (so-called ''DATAGRAM'') sockets. |
- | The ''[unix]'' section contains options that are applied to only opened //Unix Domain// sockets. | + | * The ''[unix]'' section contains options that are applied //only// to opened //Unix Domain// sockets. |
- | Other sections may be defined with one or more //protocol// names (separated by ''|'') as the section name and for these sections, the socket options contained within are only applied to opened sockets for the specified protocol(s). | + | * Other sections may be defined with one or more //protocol// names (separated by ''|'') as the section name and for these sections, the socket options contained within are //only// applied to opened sockets for the specified protocol(s). |
===== Options ===== | ===== Options ===== | ||
- | Most of the options should not be changed by the sysop without very a detailed understanding of the effects. That said, here's the list of supported options (many are OS/Network stack dependent): | + | Most of the options should not be changed by the sysop without a detailed understanding of the effects. That said, here's the list of supported options (many are OS/Network stack dependent): |
^ Option ^ | ^ Option ^ | ||
Line 30: | Line 30: | ||
| ''REUSEADDR'' | | | ''REUSEADDR'' | | ||
| ''REUSEPORT'' | | | ''REUSEPORT'' | | ||
+ | | ''EXCLUSIVEADDRUSE'' | | ||
| ''KEEPALIVE'' | | | ''KEEPALIVE'' | | ||
| ''DONTROUTE'' | | | ''DONTROUTE'' | | ||
Line 58: | Line 59: | ||
===== See Also ===== | ===== See Also ===== | ||
- | * [[:config:|config index]] | + | * [[:config:|Configuration]] |
* [[https://linux.die.net/man/3/setsockopt|Linux socket interface]] | * [[https://linux.die.net/man/3/setsockopt|Linux socket interface]] | ||
* [[https://docs.microsoft.com/en-us/windows/win32/winsock/socket-options|Windows Socket Options]] | * [[https://docs.microsoft.com/en-us/windows/win32/winsock/socket-options|Windows Socket Options]] | ||
* [[https://docs.microsoft.com/en-us/windows/win32/winsock/sol-socket-socket-options|Windows SOL_SOCKET Socket Options]] | * [[https://docs.microsoft.com/en-us/windows/win32/winsock/sol-socket-socket-options|Windows SOL_SOCKET Socket Options]] | ||
- | {{tag>}} | + | |
+ | {{tag>configuration operating_system ini}} | ||