Did you know ... | Search Documentation: |
Predicate tcp_setopt/2 |
setsockopt()
and the socket interface (e.g.,
socket(7)
on Linux) for details.
tcp_socket(Socket), tcp_setopt(Socket, bindtodevice(lo))
true
, disable the Nagle optimization on this socket,
which is enabled by default on almost all modern TCP/IP stacks. The
Nagle optimization joins small packages, which is generally desirable,
but sometimes not. Please note that the underlying TCP_NODELAY setting
to setsockopt()
is not available on all platforms and
systems may require additional privileges to change this option. If the
option is not supported, tcp_setopt/2
raises a domain_error exception. See
Wikipedia
for details.setsockopt()
with the
corresponding arguments.swipl-win.exe
executable) this flags defines whether or not any events are dispatched
on behalf of the user interface. Default is
true
. Only very specific situations require setting this to false
.