TCP File Descriptor Control - TCP File Descriptor Control - UG1586

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2026-01-22
Revision
1.4 English

Onload supports the following options in socket() and accept() calls.

Table 1. Options for socket() and accept()
Option Description
SOCK_NONBLOCK Supported in socket() and accept(). Sets the O_NONBLOCK file status flag on the new open file descriptor saving extra calls to fcntl(2) to achieve the same result.
SOCK_CLOEXEC Supported in accept(). Sets the close-on-exec (FD_CLOEXEC) flag on the new file descriptor.