libcppwrap
A collection of C++ wrappers for native APIs
Loading...
Searching...
No Matches
Public Member Functions | List of all members
w::unix_domain_address Struct Reference

Wraps struct sockaddr_in, adding constructors for convenient initialization. More...

#include <sockets.hpp>

Inheritance diagram for w::unix_domain_address:
Inheritance graph
[legend]
Collaboration diagram for w::unix_domain_address:
Collaboration graph
[legend]

Public Member Functions

 unix_domain_address (const char *path)
 Initializes a UNIX domain address. More...
 

Detailed Description

Wraps struct sockaddr_in, adding constructors for convenient initialization.

Constructor & Destructor Documentation

◆ unix_domain_address()

w::unix_domain_address::unix_domain_address ( const char *  path)

Initializes a UNIX domain address.

Parameters
pathThe UNIX domain socket path.
Exceptions
std::invalid_argumentThe path is too long.

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