added Socket::sendx() that accept a buffer vector and a destination address
This commit is contained in:
@ -444,7 +444,7 @@ public:
|
||||
return this->getValueAt(0);
|
||||
}
|
||||
|
||||
const T& getLast() const
|
||||
const T& getLast () const
|
||||
{
|
||||
return this->getValueAt(this->getSize() - 1);
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ extern "C" {
|
||||
|
||||
QSE_EXPORT qse_dhcp6_opt_hdr_t* qse_dhcp6_find_option (
|
||||
const qse_dhcp6_pktinf_t* pkt,
|
||||
int code
|
||||
int code
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -109,6 +109,7 @@ public:
|
||||
int sendx (const void* buf, qse_size_t len, qse_size_t* total_sent = QSE_NULL) QSE_CPP_NOEXCEPT;
|
||||
int sendx (const void* buf, qse_size_t len, const SocketAddress& dstaddr, qse_size_t* total_sent = QSE_NULL) QSE_CPP_NOEXCEPT;
|
||||
int sendx (qse_ioptl_t* vec, int count, qse_size_t* total_sent = QSE_NULL) QSE_CPP_NOEXCEPT;
|
||||
int sendx (qse_ioptl_t* vec, int count, const SocketAddress& dstaddr, qse_size_t* total_sent = QSE_NULL) QSE_CPP_NOEXCEPT;
|
||||
|
||||
qse_ssize_t receive (void* buf, qse_size_t len) QSE_CPP_NOEXCEPT;
|
||||
qse_ssize_t receive (void* buf, qse_size_t len, SocketAddress& srcaddr) QSE_CPP_NOEXCEPT;
|
||||
|
Reference in New Issue
Block a user