EasySockets v2.0.0
A simple, cross platform socket library for C++.
Loading...
Searching...
No Matches
es Namespace Reference

Classes

struct  EndPoint
 Represents the address + port that identifies a connection. Initialized by {Address, Port}, e.g. {"192.168.0.1", 443}. More...
class  PosixContext
 An object which is required to exist for es::Sockets to be used. More...
class  PosixSocket
 An object which represents a connection between two applications. More...
class  WindowsSocket
 An object which represents a connection between two applications. More...
class  WinsockContext
 An object which is required to exist for es::Sockets to be used. More...

Concepts

concept  ContextApi
concept  SocketApi

Typedefs

using Address = std::string
 String IP address.
using Port = uint16_t
 16-bit port number.
using Socket = WindowsSocket
 An object which represents a connection between two applications.
using Context = WinsockContext
 An object which is required to exist for es::Sockets to be used.

Enumerations

enum class  IpVersion { IpVersion::IPV4 , IpVersion::IPV6 , IpVersion::DUAL_STACK }
 Version of IP address. More...
enum class  Protocol { Protocol::TCP , Protocol::UDP }
 Layer 4/transport layer protocol. More...