Lines Matching refs:addrlen
64 socklen_t addrlen) const { in send()
66 SOCK_OP_AND_LOG(buf, len, isValid(), rtv, sendto(buf, len, flags, destAddr, addrlen)); in send()
70 socklen_t *addrlen, int sid) const { in recv() argument
76 recvfrom(dataCb, sid, flags, srcAddr, addrlen)); in recv()
80 socklen_t addrlen) const { in sendto()
83 rtv = ::sendto(mSid, buf, len, flags, destAddr, addrlen); in sendto()
86 rtv = ::sendto(mSid, head.c_str(), head.length(), flags, destAddr, addrlen); in sendto()
90 flags, destAddr, addrlen); in sendto()
98 struct sockaddr *srcAddr, socklen_t *addrlen) const { in recvfrom()
102 if ((nBytes = ::recvfrom(sid, (void*)msg.data(), msg.size(), flags, srcAddr, addrlen)) > 0) { in recvfrom()
118 flags, srcAddr, addrlen); in recvfrom()
129 ssize_t Sock::sendAbort(int flags, const struct sockaddr *destAddr, socklen_t addrlen) { in sendAbort() argument
130 return send(MSG_ABORT, sizeof(MSG_ABORT), flags, destAddr, addrlen); in sendAbort()