Wizard
Software Engineering Project - Wizard
Loading...
Searching...
No Matches
inet_address.h File Reference
#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
 

Functions

std::ostream & sockpp::operator<< (std::ostream &os, const inet_address &addr)
 

Detailed Description

Class for a TCP/IP socket address.

Author
Frank Pagliughi
SoRo Systems, Inc.
www.sorosys.com
Date
February 2014

Function Documentation

◆ operator<<()

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.

Parameters
osThe output stream
addrThe address
Returns
A reference to the output stream.