#include <socket.hpp>
|
| socket (SocketInformation info) |
|
| socket (AddrFamily addr, SocketTyp sockt, ProcType ptyp) |
|
void | Bind (const endpoint_t &localEndPoint) |
|
void | Listen (int backlog) |
|
void | Connect (Ipaddr_t ipaddr, const int port) |
|
void | Connect (std::string addr, const int port) |
|
void | Connect (const endpoint_t &ep) |
|
void | Disconnect (const bool b) |
|
void | shutdown (const int flags) |
|
size_t | receive (void *data, size_t offset, size_t size, const SocketFlags &flags, SocketError &error) |
|
size_t | receivefrom (void *data, size_t offset, size_t size, const SocketFlags &flags, endpoint_t ep) |
|
size_t | send (void *data, size_t offset, size_t size, const SocketFlags &flags, SocketError &error) |
|
size_t | sendto (void *data, size_t offset, size_t size, const SocketFlags &flags, endpoint_t ep) |
|
|
property< ProcType, socket > | Proctocol {this, &socket::getProcType, &socket::setProcType} |
|
property< AddrFamily, socket > | AdressFamily {this, &socket::getAddrFamily, &socket::setAddrFamily} |
|
property< SocketTyp, socket > | Typ {this, &socket::getSocketTyp, &socket::setSocketTyp} |
|
property< bool, socket > | DontFragment {this, &socket::getDontFragment, &socket::setDontFragment} |
|
property< bool, socket > | DualMode {this, &socket::getDualMode, &socket::setDualMode} |
|
property< bool, socket > | NoDelay {this, &socket::getNoDelay, &socket::setNoDelay} |
|
template<class TIPAddress>
class std::net::socket< TIPAddress >
◆ endpoint_t
template<class TIPAddress >
◆ Ipaddr_t
template<class TIPAddress >
◆ socket() [1/2]
template<class TIPAddress >
72 m_addrFamily = info.AdressFamily;
73 m_procType = info.Proctocol;
75 m_isBound = info.IsBound;
void InitializeSockets()
Definition: socket.hpp:152
void SocketDefaults()
Definition: socket.hpp:140
◆ socket() [2/2]
template<class TIPAddress >
void InitializeSockets()
Definition: socket.hpp:152
◆ Accept()
template<class TIPAddress >
◆ Bind()
template<class TIPAddress >
100 if(error == 0) m_isBound =
true;
101 m_seedEndPoint = localEndPoint;
◆ Connect() [1/3]
template<class TIPAddress >
◆ Connect() [2/3]
template<class TIPAddress >
◆ Connect() [3/3]
template<class TIPAddress >
◆ Disconnect()
template<class TIPAddress >
◆ getAddrFamily()
template<class TIPAddress >
157 {
return m_addrFamily; }
◆ getDontFragment()
template<class TIPAddress >
◆ getDualMode()
template<class TIPAddress >
◆ getLocalEndPoint()
template<class TIPAddress >
183 if(m_seedEndPoint == 0)
return 0;
◆ getNoDelay()
template<class TIPAddress >
◆ getProcType()
template<class TIPAddress >
156 {
return m_procType; }
◆ getRemoteEndPoint()
template<class TIPAddress >
190 if(m_seedEndPoint == 0 && !m_isConnected)
return 0;
◆ getSocketTyp()
template<class TIPAddress >
◆ InitializeSockets()
template<class TIPAddress >
◆ Listen()
template<class TIPAddress >
◆ receive()
template<class TIPAddress >
size_t std::net::socket< TIPAddress >::receive |
( |
void * |
data, |
|
|
size_t |
offset, |
|
|
size_t |
size, |
|
|
const SocketFlags & |
flags, |
|
|
SocketError & |
error |
|
) |
| |
|
inline |
◆ receivefrom()
template<class TIPAddress >
size_t std::net::socket< TIPAddress >::receivefrom |
( |
void * |
data, |
|
|
size_t |
offset, |
|
|
size_t |
size, |
|
|
const SocketFlags & |
flags, |
|
|
endpoint_t |
ep |
|
) |
| |
|
inline |
◆ send()
template<class TIPAddress >
size_t std::net::socket< TIPAddress >::send |
( |
void * |
data, |
|
|
size_t |
offset, |
|
|
size_t |
size, |
|
|
const SocketFlags & |
flags, |
|
|
SocketError & |
error |
|
) |
| |
|
inline |
◆ sendto()
template<class TIPAddress >
size_t std::net::socket< TIPAddress >::sendto |
( |
void * |
data, |
|
|
size_t |
offset, |
|
|
size_t |
size, |
|
|
const SocketFlags & |
flags, |
|
|
endpoint_t |
ep |
|
) |
| |
|
inline |
◆ setAddrFamily()
template<class TIPAddress >
◆ setDontFragment()
template<class TIPAddress >
◆ setDualMode()
template<class TIPAddress >
◆ setNoDelay()
template<class TIPAddress >
◆ setProcType()
template<class TIPAddress >
◆ setSocketTyp()
template<class TIPAddress >
◆ shutdown()
template<class TIPAddress >
◆ SocketDefaults()
template<class TIPAddress >
property< bool, socket > NoDelay
Definition: socket.hpp:69
property< bool, socket > DontFragment
Definition: socket.hpp:65
property< bool, socket > DualMode
Definition: socket.hpp:67
◆ AdressFamily
template<class TIPAddress >
◆ DontFragment
template<class TIPAddress >
◆ DualMode
template<class TIPAddress >
◆ NoDelay
template<class TIPAddress >
◆ Proctocol
template<class TIPAddress >
◆ Typ
template<class TIPAddress >
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: