Logo Search packages:      
Sourcecode: sofia-sip version File versions

SOFIAPUBFUN issize_t su_vsend ( su_socket_t  ,
su_iovec_t const   iov[],
isize_t  len,
int  flags,
su_sockaddr_t const *  su,
socklen_t  sulen 

Scatter-gather send.

Definition at line 508 of file su.c.

References su_vsend().

Referenced by su_vsend(), tport_send_dgram(), and tport_send_stream().

  struct msghdr hdr[1] = {{0}};

  hdr->msg_name = (void *)su;
  hdr->msg_namelen = sulen;
  hdr->msg_iov = (struct iovec *)iov;
  hdr->msg_iovlen = iovlen;

  return sendmsg(s, hdr, flags);

Generated by  Doxygen 1.6.0   Back to index