coral
A C++ library for distributed co-simulation
Classes | Namespaces | Functions
ip.hpp File Reference

Internal module header for coral::net::ip. More...

#include <netinet/in.h>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  coral::net::ip::NetworkInterfaceInfo
 Information about a network interface. More...
 

Namespaces

 coral::net
 Networking, communication and general-purpose protocols.
 
 coral::net::ip
 Functions and classes used for communication over the Internet Protocol.
 

Functions

std::vector< NetworkInterfaceInfo > coral::net::ip::GetNetworkInterfaces ()
 Returns information about available network interfaces. More...
 
std::string coral::net::ip::IPAddressToString (in_addr address)
 Converts an IP address to a string in dotted-decimal format.
 
in_addr coral::net::ip::StringToIPAddress (const std::string &address)
 Converts an IP address in dotted-decimal string format to an in_addr.
 

Detailed Description

Internal module header for coral::net::ip.