mirror of
https://repo.or.cz/socat.git
synced 2025-06-25 17:28:43 +00:00
Added options setsockopt-socket and setsockopt-connected
This commit is contained in:
parent
e6aa3d1787
commit
c8aec28b82
6 changed files with 19 additions and 0 deletions
doc
|
@ -2408,6 +2408,12 @@ label(OPTION_SETSOCKOPT_STRING)dit(bf(tt(setsockopt-string=<level>:<optname>:<op
|
|||
Like tt(setsockopt), but <optval> is a link(string)(TYPE_STRING).
|
||||
This string is passed to the function with trailing null character, and the
|
||||
length parameter is automatically derived from the data.
|
||||
label(OPTION_SETSOCKOPT_SOCKET)dit(bf(tt(setsockopt-socket=<level>:<optname>:<optval>)))
|
||||
Like tt(setsockopt), but is applied to the socket before other operations
|
||||
(code(bind()), code(connect()), code(accept()), ...)
|
||||
label(OPTION_SETSOCKOPT_CONNECTED)dit(bf(tt(setsockopt-connected=<level>:<optname>:<optval>)))
|
||||
Like tt(setsockopt), but is applied only when the socket has been connected
|
||||
by a code(connect()) or code(listen()) call.
|
||||
enddit()
|
||||
|
||||
startdit()enddit()nl()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue