SNode.C
|
#include <PeerSocket.h>
Public Types | |
using | SocketAddress = SocketAddressT |
![]() | |
enum | Flags { NONE = 0 , NONBLOCK = SOCK_NONBLOCK , CLOEXIT = SOCK_CLOEXEC } |
Protected Types | |
using | Super = net::phy::PhysicalSocket< SocketAddressT > |
![]() | |
using | SocketAddress = SocketAddressT |
Additional Inherited Members | |
![]() | |
PhysicalSocket ()=delete | |
PhysicalSocket (PhysicalSocket &)=delete | |
PhysicalSocket & | operator= (PhysicalSocket &)=delete |
PhysicalSocket (const PhysicalSocket &)=delete | |
PhysicalSocket & | operator= (const PhysicalSocket &)=delete |
PhysicalSocket (int fd, const SocketAddress &bindAddress) | |
int | open (const std::map< int, std::map< int, const PhysicalSocketOption > > &socketOptionsMapMap, Flags flags) |
int | bind (SocketAddress &bindAddress) |
bool | isValid () const |
int | getSockError (int &cErrno) const |
int | getSockName (typename SocketAddress::SockAddr &localSockAddr, typename SocketAddress::SockLen &localSockAddrLen) |
int | getPeerName (typename SocketAddress::SockAddr &remoteSockAddr, typename SocketAddress::SockLen &remoteSockAddrLen) |
SocketAddress | getBindAddress () const |
![]() | |
Descriptor ()=delete | |
Descriptor (const Descriptor &d)=delete | |
Descriptor & | operator= (int fd) |
Descriptor & | operator= (const Descriptor &descriptor)=delete |
Descriptor & | operator= (Descriptor &&descriptor) noexcept |
int | getFd () const |
![]() | |
PhysicalSocket (int domain, int type, int protocol) | |
PhysicalSocket (PhysicalSocket &&physicalSocket) noexcept=default | |
PhysicalSocket & | operator= (PhysicalSocket &&) noexcept=default |
~PhysicalSocket () override | |
![]() | |
Descriptor (int fd) | |
Descriptor (Descriptor &&descriptor) noexcept | |
virtual | ~Descriptor () |
![]() | |
SocketAddress | bindAddress |
int | domain = 0 |
int | type = 0 |
int | protocol = 0 |
Definition at line 58 of file PeerSocket.h.
using net::phy::dgram::PeerSocket< SocketAddressT >::SocketAddress = SocketAddressT |
Definition at line 65 of file PeerSocket.h.
|
protected |
Definition at line 60 of file PeerSocket.h.