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
TPollerBase()=default
Default constructor.
Poller implementation based on the select() system call.
Definition select.hpp:36
NNet::TFileHandle TFileHandle
Alias for the file handle type.
Definition select.hpp:41
void Poll()
Polls for I/O events using the select() system call.
NNet::TSocket TSocket
Alias for the socket type.
Definition select.hpp:39
High-level asynchronous socket for network communication.
Definition socket.hpp:364