168 struct SocketSelectorImpl;
173 std::unique_ptr<SocketSelectorImpl> m_impl;
#define SFML_NETWORK_API
Definition Export.hpp:42
Base class for all the socket types.
Definition Socket.hpp:42
SocketSelector(const SocketSelector ©)
Copy constructor.
SocketSelector()
Default constructor.
void clear()
Remove all the sockets stored in the selector.
SocketSelector(SocketSelector &&) noexcept
Move constructor.
~SocketSelector()
Destructor.
bool isReady(Socket &socket) const
Test a socket to know if it is ready to receive data.
void remove(Socket &socket)
Remove a socket from the selector.
bool wait(Time timeout=Time::Zero)
Wait until one or more sockets are ready to receive.
void add(Socket &socket)
Add a new socket to the selector.
SocketSelector & operator=(const SocketSelector &right)
Overload of assignment operator.
Represents a time value.
Definition Time.hpp:42
Definition BlendMode.hpp:34