diff options
author | Daniel Beulshausen <dbeu@php.net> | 2001-07-25 22:03:55 +0000 |
---|---|---|
committer | Daniel Beulshausen <dbeu@php.net> | 2001-07-25 22:03:55 +0000 |
commit | 69a4760b48a5e17c4cc2d2b8ac9c0aec968d3a48 (patch) | |
tree | 1c6634e0abf97c205252f5e538f066ca19e72e9b /ext/sockets/php_sockets_win.h | |
parent | 082165f1981043c827694e1399e4025d9628f1d1 (diff) | |
download | php-git-69a4760b48a5e17c4cc2d2b8ac9c0aec968d3a48.tar.gz |
fix recently discovered api flaws
- nuke first parameter to socket_select (detemine it ourself)
- swap parameters for socket_fd_set, socket_fd_clear & socket_fd_isset
- allow to pass an array of sockets to socket_fd_set + socket_fd_clear
Diffstat (limited to 'ext/sockets/php_sockets_win.h')
-rw-r--r-- | ext/sockets/php_sockets_win.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/sockets/php_sockets_win.h b/ext/sockets/php_sockets_win.h index cbb225b911..89f2426960 100644 --- a/ext/sockets/php_sockets_win.h +++ b/ext/sockets/php_sockets_win.h @@ -41,7 +41,6 @@ #define set_h_errno(a) WSASetLastError(a) #define close(a) closesocket(a) #define CMSG_DATA(cmsg) ((cmsg)->cmsg_data) -#define IS_INVALID_SOCKET(a) (a->socket == INVALID_SOCKET) typedef long ssize_t; |