sockpp
Modern C++ socket library wrapper
|
Class for a TCP/IP socket address. More...
#include "sockpp/sock_address.h"
#include <iostream>
#include <string>
#include <cstring>
#include <algorithm>
Go to the source code of this file.
Classes | |
class | sockpp::inet_address |
Class that represents an internet (IPv4) address. More... | |
Functions | |
std::ostream & | sockpp::operator<< (std::ostream &os, const inet_address &addr) |
Stream inserter for the address. More... | |
Class for a TCP/IP socket address.
std::ostream& sockpp::operator<< | ( | std::ostream & | os, |
const inet_address & | addr | ||
) |
Stream inserter for the address.
This uses the simple dot notation of the address as returned from inet_ntop(). It does not attempt a host lookup.
os | The output stream |
addr | The address |