diff options
Diffstat (limited to 'src/os/win32/ngx_sendv.h')
-rw-r--r-- | src/os/win32/ngx_sendv.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/os/win32/ngx_sendv.h b/src/os/win32/ngx_sendv.h new file mode 100644 index 000000000..0de427610 --- /dev/null +++ b/src/os/win32/ngx_sendv.h @@ -0,0 +1,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_ */ |