11#include <coroio/poller.hpp>
12#include <coroio/socket.hpp>
72 return reinterpret_cast<fd_set*
>(&ReadFds_[0]);
88 return reinterpret_cast<fd_set*
>(&WriteFds_[0]);
92 std::vector<THandlePair> InEvents_;
98 std::vector<fd_mask> ReadFds_;
99 std::vector<fd_mask> WriteFds_;
Asynchronous file handle that owns its file descriptor.
Definition socket.hpp:317
Base class for pollers managing asynchronous I/O events and timers.
Definition poller.hpp:52
Poller implementation based on the select() system call.
Definition select.hpp:36
void Poll()
Polls for I/O events using the select() system call.
Definition select.cpp:16
NNet::TSocket TSocket
Alias for the socket type.
Definition select.hpp:39
High-level asynchronous socket for network communication.
Definition socket.hpp:364