EasySockets v2.0.0
A simple, cross platform socket library for C++.
Loading...
Searching...
No Matches
Addresses.hpp
1#pragma once
2
3#include <cstdint>
4#include <string>
5
6namespace es
7{
13 using Address = std::string;
14
20 using Port = uint16_t;
21
28 struct EndPoint
29 {
32 };
33}
uint16_t Port
16-bit port number.
Definition Addresses.hpp:20
std::string Address
String IP address.
Definition Addresses.hpp:13
Definition Addresses.hpp:7
Represents the address + port that identifies a connection. Initialized by {Address,...
Definition Addresses.hpp:29
Port port
Definition Addresses.hpp:31
Address address
Definition Addresses.hpp:30