summaryrefslogtreecommitdiff
path: root/src/core/sockfd.c
Commit message (Collapse)AuthorAge
* sockfd: check the result of nni_aio_scheduleGarrett D'Amore2024-12-07
| | | | This fixes a possible failure condition on teardown.
* fixes #1746 Create a new socket:// transport for socketpair() based connectionsGarrett D'Amore2023-12-29
This transport only listens, and creates connections when the application calls setopt on the lister with NNG_OPT_SOCKET_FD, to pass a file descriptor. The FD is turned into an nng_stream, and utilized for SP. The protocol over the descriptor is identical to the TCP protocol (not the IPC protocol). The options for peer information are borrowed from the IPC transport, as they may be useful for these purposes. This includes a test suite and full documentation.