Agora  1.2.0
Agora project
udp_comm.cc File Reference

Definition file for the UDPComm class. This class is used to send/recv messages from a remote endpoint. More...

#include "udp_comm.h"
#include <arpa/inet.h>
#include <fcntl.h>
#include <netdb.h>
#include <sys/socket.h>
#include <unistd.h>
#include <cstring>
#include <stdexcept>
#include <utility>
#include "logger.h"
#include "network_utils.h"
Include dependency graph for udp_comm.cc:

Variables

static const std::string kDefaultAddress = "127.0.0.1"
 Default to ipv4 for historic reasons, use ::1 if you want ipv6. More...
 

Detailed Description

Definition file for the UDPComm class. This class is used to send/recv messages from a remote endpoint.

Variable Documentation

◆ kDefaultAddress

const std::string kDefaultAddress = "127.0.0.1"
static

Default to ipv4 for historic reasons, use ::1 if you want ipv6.