UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
sockaddr.cpp File Reference

Definition of the Sockaddr class and some free helper functions. More...

#include <UPnPsdk/sockaddr.hpp>
#include <UPnPsdk/synclog.hpp>
#include <umock/netdb.hpp>
+ Include dependency graph for sockaddr.cpp:

Go to the source code of this file.

Namespaces

namespace  UPnPsdk
 Reengineered Object Oriented UPnP+ program code.
 

Functions

bool UPnPsdk::anonymous_namespace{sockaddr.cpp}::sockaddrcmp (const ::sockaddr_storage *a_ss1, const ::sockaddr_storage *a_ss2) noexcept
 logical compare two sockaddr structures
 
int UPnPsdk::anonymous_namespace{sockaddr.cpp}::to_port (const std::string &a_port_str, in_port_t *const a_port_num=nullptr) noexcept
 Free function to check if a string represents a valid port number.
 
void UPnPsdk::split_addr_port (const std::string &a_addr_str, std::string &a_addr, std::string &a_serv)
 Free function to split inet address and port(service)
 

Detailed Description

Definition of the Sockaddr class and some free helper functions.

Definition in file sockaddr.cpp.