Creates AsyncIoUringSocket instances and reports io_uring support.
Declared in <folly/io/async/AsyncIoUringSocketFactory.h>
class AsyncIoUringSocketFactory;
| Name | Description |
|---|---|
asyncDetachFd | Detaches the file descriptor from an io_uring transport, if it is one. |
create | Creates a wrapper around a new io_uring socket. |
createBoundSocketForZcRx | Create a socket bound to a source port that hashes to the ZC-RX queue. Iterates ports in [1024, 32768) to find one that hashes to the target] queue and is available for binding. The returned socket can be passed as the BindOptions parameter to connect(). |
supports | Reports whether io_uring sockets are supported on the given EventBase. |
supportsZcRx | Reports whether zero-copy receive is supported on the given EventBase. |