Sane C++ Libraries
C++ Platform Abstraction Libraries
Socket

🟨 Synchronous socket networking and DNS lookup (see Socket for more details). More...

Classes

struct  SC::SocketFlags
 Flags for SocketDescriptor (Blocking / Inheritable, IPVx, SocketType) More...
 
struct  SC::SocketIPAddress
 Native representation of an IP Address. More...
 
struct  SC::SocketDescriptor
 Low-level OS socket handle. More...
 
struct  SC::SocketServer
 Use a SocketDescriptor as a Server (example TCP or UDP Socket Server). More...
 
struct  SC::SocketClient
 Use a SocketDescriptor as a client (example a TCP or UDP socket client). More...
 
struct  SC::SocketDNS
 Synchronous DNS Resolution. More...
 
struct  SC::SocketNetworking
 Networking globals initialization (Winsock2 WSAStartup) More...
 

Detailed Description

🟨 Synchronous socket networking and DNS lookup (see Socket for more details).

Socket library allows creating TCP / UDP sockets and using them as client or server and resolving DNS.

It can be used standalone if synchronous networking is preferred or as a companion to Async for creation of non-blocking socket descriptors.