blob: 7002795a765d29e2a9970e73878882db656426b9 [file] [log] [blame]
#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_ */