SMTPS protocol class.
More...
#include <protocol.hpp>
|
| constexpr | Smtps (int family=AF_INET) noexcept |
| | create the SMTPS protocol instance.
|
| |
| constexpr int | family () const noexcept |
| | get the protocol IP address family.
|
| |
| constexpr int | type () const noexcept |
| | get the protocol communication semantic.
|
| |
| constexpr int | protocol () const noexcept |
| | get the protocol type.
|
| |
|
| static Smtps & | v4 () noexcept |
| | get protocol suitable for IPv4 address family.
|
| |
| static Smtps & | v6 () noexcept |
| | get protocol suitable for IPv6 address family.
|
| |
◆ Client
◆ Endpoint
◆ Socket
◆ Stream
◆ Smtps()
| join::Smtps::Smtps |
( |
int | family = AF_INET | ) |
|
|
inlineconstexprnoexcept |
create the SMTPS protocol instance.
- Parameters
-
◆ family()
| int join::Smtps::family |
( |
| ) |
const |
|
inlineconstexprnoexcept |
get the protocol IP address family.
- Returns
- the protocol IP address family.
◆ protocol()
| int join::Smtps::protocol |
( |
| ) |
const |
|
inlineconstexprnoexcept |
get the protocol type.
- Returns
- the protocol type.
◆ type()
| int join::Smtps::type |
( |
| ) |
const |
|
inlineconstexprnoexcept |
get the protocol communication semantic.
- Returns
- the protocol communication semantic.
◆ v4()
| static Smtps & join::Smtps::v4 |
( |
| ) |
|
|
inlinestaticnoexcept |
get protocol suitable for IPv4 address family.
- Returns
- an IPv4 address family suitable protocol.
◆ v6()
| static Smtps & join::Smtps::v6 |
( |
| ) |
|
|
inlinestaticnoexcept |
get protocol suitable for IPv6 address family.
- Returns
- an IPv6 address family suitable protocol.
The documentation for this class was generated from the following file: