25 #ifndef SFML_SOCKET_HPP
26 #define SFML_SOCKET_HPP
31 #include <SFML/Network/Export.hpp>
32 #include <SFML/Network/SocketHandle.hpp>
33 #include <SFML/System/NonCopyable.hpp>
95 void setBlocking(
bool blocking);
105 bool isBlocking()
const;
139 SocketHandle getHandle()
const;
158 void create(SocketHandle handle);
176 SocketHandle m_socket;
183 #endif // SFML_SOCKET_HPP
Multiplexer that allows to read from multiple sockets.
Status
Status codes that may be returned by socket functions.
The socket is not ready to send / receive data yet.
Base class for all the socket types.
The TCP socket has been disconnected.
Utility class that makes any derived class non-copyable.
The socket has sent / received the data.
Type
Types of protocols that the socket can use.