LeftHookRoll
An HTTP/1.0 compliant web server, as specified by RFC1945
Loading...
Searching...
No Matches
SockAddrCompare Struct Reference

Custom comparator for sockaddr_in to allow its use as a key in std::map. More...

#include <ServerManager.hpp>

Collaboration diagram for SockAddrCompare:

Public Member Functions

bool operator() (const struct sockaddr_in &lhs, const struct sockaddr_in &rhs) const
 

Detailed Description

Custom comparator for sockaddr_in to allow its use as a key in std::map.

Definition at line 30 of file ServerManager.hpp.

Member Function Documentation

◆ operator()()

bool SockAddrCompare::operator() ( const struct sockaddr_in &  lhs,
const struct sockaddr_in &  rhs 
) const
inline

Definition at line 32 of file ServerManager.hpp.


The documentation for this struct was generated from the following file: