25#include "SocketAddress.h"
26#include "SocketGuard.h"
27#include "SocketTypes.h"
30#ifndef DOXYGEN_SHOULD_SKIP_THIS
80 operator bool () const noexcept {
106#ifndef DOXYGEN_SHOULD_SKIP_THIS
127#ifndef DOXYGEN_SHOULD_SKIP_THIS
A socket address.
Definition: SocketAddress.h:78
A guard to handle library initialization.
Definition: SocketGuard.h:42
A network socket.
Definition: Socket.h:41
void setNonBlocking()
Set the socket in non-blocking mode.
void setBlocking()
Set the socket in blocking mode.
SocketAddress getLocalAddress() const
Get the local address of the socket.
Socket & operator=(Socket &&other) noexcept
Move assignment.
Socket(Socket &&other) noexcept
Move constructor.
Socket & operator=(const Socket &)=delete
Deleted copy assignment.
Socket(const Socket &)=delete
Deleted copy constructor.
A socket selector.
Definition: SocketSelector.h:50
constexpr SocketHandle InvalidSocketHandle
An invalid socket handle.
Definition: SocketTypes.h:67
implementation-defined SocketHandle
A native socket handle.
Definition: SocketTypes.h:55
The namespace for gf classes.