25#ifndef SFML_SOCKETHELPERWIN32_HPP
26#define SFML_SOCKETHELPERWIN32_HPP
48 typedef SOCKET SocketType;
49 typedef int LengthType;
67 static bool Close(SocketType Socket);
76 static void SetBlocking(SocketType Socket,
bool Block);
This class defines helper functions to do all the non-portable socket stuff.
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.
static SocketType InvalidSocket()
Return the value of the invalid socket.
static bool Close(SocketType Socket)
Close / destroy a socket.