IoOperation enum
The operation an IoRequest describes.
- Use
#include <ThinkMeta.ConcurrentTasks/Core.h>- Namespace
ThinkMeta::ConcurrentTasks::AsyncIo- Platforms
- Linux
Syntax
enum class IoOperation : std::uint8_tValues
Read
pread: length bytes from the file at offset into buffer.
Syntax
ReadWrite
pwrite: length bytes from buffer to the file at offset.
Syntax
WriteRecv
recv into buffer, at most length bytes, with the MSG_* flags.
Syntax
RecvSend
send of length bytes from buffer, with the MSG_* flags.
Syntax
SendRecvMsg
recvmsg: buffer is the msghdr, flags the MSG_* flags.
Syntax
RecvMsgSendMsg
sendmsg: buffer is the msghdr, flags the MSG_* flags.
Syntax
SendMsgAccept
accept4: buffer receives the peer's address (or is nullptr), offset is the address of the socklen_t with its size, flags the SOCK_* flags of the new socket. The result is the new socket.
Syntax
AcceptConnect
connect to the address in buffer, which is length bytes long.
Syntax
ConnectGenerated from ThinkMeta.ConcurrentTasks.API @ da816bc (2026-11-06).