Wizard
Software Engineering Project - Wizard
Loading...
Searching...
No Matches
sock_address.h File Reference
#include "sockpp/platform.h"
#include <cstring>
#include <stdexcept>

Go to the source code of this file.

Classes

class  sockpp::sock_address
 
class  sockpp::sock_address_any
 

Functions

bool sockpp::operator== (const sock_address &lhs, const sock_address &rhs)
 
bool sockpp::operator!= (const sock_address &lhs, const sock_address &rhs)
 

Detailed Description

Generic address class for sockpp.

Author
Frank Pagliughi
SoRo Systems, Inc.
www.sorosys.com
Date
June 2017

Function Documentation

◆ operator!=()

bool sockpp::operator!= ( const sock_address & lhs,
const sock_address & rhs )
inline

Determines if the two objects refer to the different address.

Parameters
lhsA socket address
rhsA socket address
Returns
true if lhs and rhs refer to different address, false if they refer to the same address.

◆ operator==()

bool sockpp::operator== ( const sock_address & lhs,
const sock_address & rhs )
inline

Determines if the two objects refer to the same address.

Parameters
lhsA socket address
rhsA socket address
Returns
true if lhs and rhs refer to the same address, false otherwise.