Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
This class defines helper functions to do all the non-portable socket stuff. More...
#include <SFML/Network/Win32/SocketHelper.hpp>
Public Types | |
| typedef SOCKET | SocketType |
| typedef int | LengthType |
Static Public Member Functions | |
| static SocketType | InvalidSocket () |
| Return the value of the invalid socket. | |
| static bool | Close (SocketType Socket) |
| Close / destroy a socket. | |
| static void | SetBlocking (SocketType Socket, bool Block) |
| Set a socket as blocking or non-blocking. | |
| static Socket::Status | GetErrorStatus () |
| Get the last socket error status. | |
This class defines helper functions to do all the non-portable socket stuff.
This class is meant for internal use only
Definition at line 41 of file Win32/SocketHelper.hpp.
| typedef int sf::SocketHelper::LengthType |
Definition at line 49 of file Win32/SocketHelper.hpp.
| typedef SOCKET sf::SocketHelper::SocketType |
Definition at line 48 of file Win32/SocketHelper.hpp.
|
static |
|
static |
Get the last socket error status.
|
static |
Return the value of the invalid socket.
|
static |
Set a socket as blocking or non-blocking.
| Socket | : Socket to modify |
| Block | : New blocking state of the socket |