MLIB
Loading...
Searching...
No Matches
inaddr.h File Reference

Definition of inaddr class. More...

#include "safe_winsock.h"
#include <ostream>
#include "errorcode.h"

Go to the source code of this file.

Data Structures

class  mlib::inaddr
 sockaddr wrapper More...
 

Functions

std::string to_string (const mlib::inaddr &addr)
 Convert an address to a string in format '<hostname\>:\<port\>
 
std::ostream & operator<< (std::ostream &strm, const mlib::inaddr &addr)
 Serialize an address as '<hostname>:<port>'.
 

Detailed Description

Definition of inaddr class.