#ifndef _NGX_SOCKET_H_INCLUDED_ | |
#define _NGX_SOCKET_H_INCLUDED_ | |
#include <ngx_config.h> | |
#include <ngx_log.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)" | |
#define ngx_close_socket closesocket | |
#define ngx_close_socket_n "closesocket" | |
#endif /* _NGX_SOCKET_H_INCLUDED_ */ |