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>
96 void setBlocking(
bool blocking);
106 bool isBlocking()
const;
140 SocketHandle getHandle()
const;
159 void create(SocketHandle handle);
177 SocketHandle m_socket;
184 #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 sent a part of the data.
The socket has sent / received the data.
Type
Types of protocols that the socket can use.