scclib
Stable Cloud Computing C++ Library
Classes | Enumerations | Functions

Internet tcp and udp networking. More...

#include <string>
#include <cstdint>
#include <memory>
#include <net/socket.h>
Include dependency graph for inet.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  scc::net::InetAddr
 Ipv6 internet address. More...
 
class  scc::net::InetTcpSock
 Internet transmission control protocol (tcp) socket. More...
 
class  scc::net::InetUdpSock
 Internet user datagram protocol (udp) socket. More...
 

Enumerations

enum  scc::net::InetAddrFlag {
  scc::net::prot_mask = 0xf , scc::net::ipv4 = 0x1 , scc::net::ipv6 = 0x2 , scc::net::type_mask = 0xf0 ,
  scc::net::any = 0x10 , scc::net::loopback = 0x20 , scc::net::unicast = 0x40 , scc::net::multicast = 0x80 ,
  scc::net::scope_mask = 0xff00 , scc::net::if_local = 0x0100 , scc::net::link_local = 0x0200 , scc::net::realm_local = 0x0400 ,
  scc::net::admin_local = 0x0800 , scc::net::site_local = 0x1000 , scc::net::org_local = 0x2000 , scc::net::global = 0x4000 ,
  scc::net::mcast_flags_mask = 0xf0000 , scc::net::mcast_rendezvous = 0x10000 , scc::net::mcast_prefix = 0x20000 , scc::net::mcast_dynamic = 0x40000 ,
  scc::net::mcast_reserved_mask = 0xff00000 , scc::net::mcast_all_nodes = 0x0100000 , scc::net::mcast_all_routers = 0x0200000 , scc::net::unicast_special_mask = 0xf0000000 ,
  scc::net::unique_local_address = 0x10000000
}
 Internet address flags. More...
 

Functions

std::ostream & operator<< (std::ostream &, const scc::net::InetAddr &)
 Print the socket address details to an output stream.
 

Detailed Description

Internet tcp and udp networking.

Definition in file inet.h.