#include <socket.h>
Public Member Functions | |
virtual u_result | recvFrom (void *buf, size_t len, size_t &recv_len, SocketAddress *sourceAddr=NULL)=0 |
virtual u_result | sendTo (const SocketAddress &target, const void *buffer, size_t len)=0 |
Static Public Member Functions | |
static DGramSocket * | CreateSocket (socket_family_t family=SOCKET_FAMILY_INET) |
Protected Member Functions | |
DGramSocket () | |
virtual | ~DGramSocket () |
virtual rp::net::DGramSocket::~DGramSocket | ( | ) | [inline, protected, virtual] |
rp::net::DGramSocket::DGramSocket | ( | ) | [inline, protected] |
DGramSocket * rp::net::DGramSocket::CreateSocket | ( | SocketBase::socket_family_t | family = SOCKET_FAMILY_INET | ) | [static] |
Definition at line 841 of file linux/net_socket.cpp.
virtual u_result rp::net::DGramSocket::recvFrom | ( | void * | buf, |
size_t | len, | ||
size_t & | recv_len, | ||
SocketAddress * | sourceAddr = NULL |
||
) | [pure virtual] |
Implemented in rp::arch::net::DGramSocketImpl, rp::arch::net::DGramSocketImpl, and rp::arch::net::DGramSocketImpl.
virtual u_result rp::net::DGramSocket::sendTo | ( | const SocketAddress & | target, |
const void * | buffer, | ||
size_t | len | ||
) | [pure virtual] |
Implemented in rp::arch::net::DGramSocketImpl, rp::arch::net::DGramSocketImpl, and rp::arch::net::DGramSocketImpl.