TCP File Descriptor Control - TCP File Descriptor Control - UG1586

Onload User Guide (UG1586)

Document_ID
UG1586
Release_Date
2026-06-08
Revision
1.5 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.