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
Type
Types of protocols that the socket can use.
@ NotReady
The socket is not ready to send / receive data yet.
@ Partial
The socket sent a part of the data.
Status
Status codes that may be returned by socket functions.
Utility class that makes any derived class non-copyable.
Base class for all the socket types.
@ Done
The socket has sent / received the data.
Multiplexer that allows to read from multiple sockets.
@ Disconnected
The TCP socket has been disconnected.