summaryrefslogtreecommitdiffhomepage
path: root/src/os/win32/ngx_sendv.h
blob: 0de427610142f696a26b7b9389262090e8f82e8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _NGX_SENDV_H_INCLUDED_
#define _NGX_SENDV_H_INCLUDED_


#include <ngx_config.h>

typedef WSABUF        ngx_iovec_t;
#define ngx_iov_base  buf
#define ngx_iov_len   len

#define ngx_sendv(s, iovec, n, sent)  WSASend(s, iovec, n, sent, 0, NULL, NULL)


#endif /* _NGX_SENDV_H_INCLUDED_ */