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 struct sockaddr *srcAddr, socklen_t *addrlen, int sid) const { in recv() argument
76 recvfrom(recver, 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 int sid, int flags, struct sockaddr *srcAddr, socklen_t *addrlen) const { in recvfrom()
100 ssize_t nBytes = ::recvfrom(sid, (void*)msg.data(), msg.size(), flags, srcAddr, addrlen); in recvfrom()
117 flags, srcAddr, addrlen); in recvfrom()
128 ssize_t Sock::sendAbort(int flags, const struct sockaddr *destAddr, socklen_t addrlen) { in sendAbort() argument
129 return send(MSG_ABORT, sizeof(MSG_ABORT), flags, destAddr, addrlen); in sendAbort()