diff options
Diffstat (limited to 'src/os/win32/ngx_socket.h')
| -rw-r--r-- | src/os/win32/ngx_socket.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/os/win32/ngx_socket.h b/src/os/win32/ngx_socket.h new file mode 100644 index 000000000..36ed26f69 --- /dev/null +++ b/src/os/win32/ngx_socket.h @@ -0,0 +1,16 @@ +#ifndef _NGX_SOCKET_H_INCLUDED_ +#define _NGX_SOCKET_H_INCLUDED_ + + +#include <ngx_config.h> + +typedef SOCKET ngx_socket_t; + +void ngx_init_sockets(ngx_log_t *log); + +int ngx_nonblocking_n(s); +#define ngx_nonblocking_n "ioctlsocket (FIONBIO)" + + + +#endif /* _NGX_SOCKET_H_INCLUDED_ */ |
