! * \brief Checks if a specific socket is ready to read data * * This function allows you to read the results of the last Wait operation and if a specific socket is ready to read (has incoming data). * * A socket in the ready to read state (with the exception of TcpServer) has incoming data and can be read without blocking. * * \remark You must call Wait before using this function in order
| 72 | * \see Wait |
| 73 | */ |
| 74 | bool SocketPoller::IsReadyToRead(const AbstractSocket& socket) const |
| 75 | { |
| 76 | NazaraAssert(IsRegistered(socket), "Socket is not registered in the poller"); |
| 77 | |
| 78 | return m_impl->IsReadyToRead(socket.GetNativeHandle()); |
| 79 | } |
| 80 | |
| 81 | /*! |
| 82 | * \brief Checks if a specific socket is ready to write data |
no outgoing calls
no test coverage detected