php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
windows_common.h File Reference
#include <Winsock2.h>
#include <IPHlpApi.h>

Go to the source code of this file.

Macros

#define NTDDI_XP   NTDDI_WINXP /* bug in SDK */
 
#define HAVE_IF_NAMETOINDEX   1
 
#define IS_INVALID_SOCKET(a)
 
#define errno   WSAGetLastError()
 
#define h_errno   WSAGetLastError()
 
#define set_errno(a)
 
#define close(a)
 
#define EWOULDBLOCK   WSAEWOULDBLOCK
 
#define EINPROGRESS   WSAEINPROGRESS
 
#define EALREADY   WSAEALREADY
 
#define ENOTSOCK   WSAENOTSOCK
 
#define EDESTADDRREQ   WSAEDESTADDRREQ
 
#define EMSGSIZE   WSAEMSGSIZE
 
#define EPROTOTYPE   WSAEPROTOTYPE
 
#define ENOPROTOOPT   WSAENOPROTOOPT
 
#define EPROTONOSUPPORT   WSAEPROTONOSUPPORT
 
#define ESOCKTNOSUPPORT   WSAESOCKTNOSUPPORT
 
#define EOPNOTSUPP   WSAEOPNOTSUPP
 
#define EPFNOSUPPORT   WSAEPFNOSUPPORT
 
#define EAFNOSUPPORT   WSAEAFNOSUPPORT
 
#define EADDRINUSE   WSAEADDRINUSE
 
#define EADDRNOTAVAIL   WSAEADDRNOTAVAIL
 
#define ENETDOWN   WSAENETDOWN
 
#define ENETUNREACH   WSAENETUNREACH
 
#define ENETRESET   WSAENETRESET
 
#define ECONNABORTED   WSAECONNABORTED
 
#define ECONNRESET   WSAECONNRESET
 
#define ENOBUFS   WSAENOBUFS
 
#define EISCONN   WSAEISCONN
 
#define ENOTCONN   WSAENOTCONN
 
#define ESHUTDOWN   WSAESHUTDOWN
 
#define ETOOMANYREFS   WSAETOOMANYREFS
 
#define ETIMEDOUT   WSAETIMEDOUT
 
#define ECONNREFUSED   WSAECONNREFUSED
 
#define ELOOP   WSAELOOP
 
#define ENAMETOOLONG   WSAENAMETOOLONG
 
#define EHOSTDOWN   WSAEHOSTDOWN
 
#define EHOSTUNREACH   WSAEHOSTUNREACH
 
#define ENOTEMPTY   WSAENOTEMPTY
 
#define EPROCLIM   WSAEPROCLIM
 
#define EUSERS   WSAEUSERS
 
#define EDQUOT   WSAEDQUOT
 
#define ESTALE   WSAESTALE
 
#define EREMOTE   WSAEREMOTE
 
#define EAGAIN   WSAEWOULDBLOCK
 

Macro Definition Documentation

◆ close

#define close ( a)
Value:
#define closesocket
Definition php_network.h:24
$obj a
Definition test.php:84

Definition at line 32 of file windows_common.h.

◆ EADDRINUSE

#define EADDRINUSE   WSAEADDRINUSE

Definition at line 90 of file windows_common.h.

◆ EADDRNOTAVAIL

#define EADDRNOTAVAIL   WSAEADDRNOTAVAIL

Definition at line 91 of file windows_common.h.

◆ EAFNOSUPPORT

#define EAFNOSUPPORT   WSAEAFNOSUPPORT

Definition at line 89 of file windows_common.h.

◆ EAGAIN

#define EAGAIN   WSAEWOULDBLOCK

Definition at line 116 of file windows_common.h.

◆ EALREADY

#define EALREADY   WSAEALREADY

Definition at line 79 of file windows_common.h.

◆ ECONNABORTED

#define ECONNABORTED   WSAECONNABORTED

Definition at line 95 of file windows_common.h.

◆ ECONNREFUSED

#define ECONNREFUSED   WSAECONNREFUSED

Definition at line 103 of file windows_common.h.

◆ ECONNRESET

#define ECONNRESET   WSAECONNRESET

Definition at line 96 of file windows_common.h.

◆ EDESTADDRREQ

#define EDESTADDRREQ   WSAEDESTADDRREQ

Definition at line 81 of file windows_common.h.

◆ EDQUOT

#define EDQUOT   WSAEDQUOT

Definition at line 111 of file windows_common.h.

◆ EHOSTDOWN

#define EHOSTDOWN   WSAEHOSTDOWN

Definition at line 106 of file windows_common.h.

◆ EHOSTUNREACH

#define EHOSTUNREACH   WSAEHOSTUNREACH

Definition at line 107 of file windows_common.h.

◆ EINPROGRESS

#define EINPROGRESS   WSAEINPROGRESS

Definition at line 78 of file windows_common.h.

◆ EISCONN

#define EISCONN   WSAEISCONN

Definition at line 98 of file windows_common.h.

◆ ELOOP

#define ELOOP   WSAELOOP

Definition at line 104 of file windows_common.h.

◆ EMSGSIZE

#define EMSGSIZE   WSAEMSGSIZE

Definition at line 82 of file windows_common.h.

◆ ENAMETOOLONG

#define ENAMETOOLONG   WSAENAMETOOLONG

Definition at line 105 of file windows_common.h.

◆ ENETDOWN

#define ENETDOWN   WSAENETDOWN

Definition at line 92 of file windows_common.h.

◆ ENETRESET

#define ENETRESET   WSAENETRESET

Definition at line 94 of file windows_common.h.

◆ ENETUNREACH

#define ENETUNREACH   WSAENETUNREACH

Definition at line 93 of file windows_common.h.

◆ ENOBUFS

#define ENOBUFS   WSAENOBUFS

Definition at line 97 of file windows_common.h.

◆ ENOPROTOOPT

#define ENOPROTOOPT   WSAENOPROTOOPT

Definition at line 84 of file windows_common.h.

◆ ENOTCONN

#define ENOTCONN   WSAENOTCONN

Definition at line 99 of file windows_common.h.

◆ ENOTEMPTY

#define ENOTEMPTY   WSAENOTEMPTY

Definition at line 108 of file windows_common.h.

◆ ENOTSOCK

#define ENOTSOCK   WSAENOTSOCK

Definition at line 80 of file windows_common.h.

◆ EOPNOTSUPP

#define EOPNOTSUPP   WSAEOPNOTSUPP

Definition at line 87 of file windows_common.h.

◆ EPFNOSUPPORT

#define EPFNOSUPPORT   WSAEPFNOSUPPORT

Definition at line 88 of file windows_common.h.

◆ EPROCLIM

#define EPROCLIM   WSAEPROCLIM

Definition at line 109 of file windows_common.h.

◆ EPROTONOSUPPORT

#define EPROTONOSUPPORT   WSAEPROTONOSUPPORT

Definition at line 85 of file windows_common.h.

◆ EPROTOTYPE

#define EPROTOTYPE   WSAEPROTOTYPE

Definition at line 83 of file windows_common.h.

◆ EREMOTE

#define EREMOTE   WSAEREMOTE

Definition at line 113 of file windows_common.h.

◆ errno

#define errno   WSAGetLastError()

Definition at line 29 of file windows_common.h.

◆ ESHUTDOWN

#define ESHUTDOWN   WSAESHUTDOWN

Definition at line 100 of file windows_common.h.

◆ ESOCKTNOSUPPORT

#define ESOCKTNOSUPPORT   WSAESOCKTNOSUPPORT

Definition at line 86 of file windows_common.h.

◆ ESTALE

#define ESTALE   WSAESTALE

Definition at line 112 of file windows_common.h.

◆ ETIMEDOUT

#define ETIMEDOUT   WSAETIMEDOUT

Definition at line 102 of file windows_common.h.

◆ ETOOMANYREFS

#define ETOOMANYREFS   WSAETOOMANYREFS

Definition at line 101 of file windows_common.h.

◆ EUSERS

#define EUSERS   WSAEUSERS

Definition at line 110 of file windows_common.h.

◆ EWOULDBLOCK

#define EWOULDBLOCK   WSAEWOULDBLOCK

Definition at line 77 of file windows_common.h.

◆ h_errno

#define h_errno   WSAGetLastError()

Definition at line 30 of file windows_common.h.

◆ HAVE_IF_NAMETOINDEX

#define HAVE_IF_NAMETOINDEX   1

Definition at line 22 of file windows_common.h.

◆ IS_INVALID_SOCKET

#define IS_INVALID_SOCKET ( a)
Value:
(a->bsd_socket == INVALID_SOCKET)

Definition at line 24 of file windows_common.h.

◆ NTDDI_XP

#define NTDDI_XP   NTDDI_WINXP /* bug in SDK */

Definition at line 18 of file windows_common.h.

◆ set_errno

#define set_errno ( a)
Value:
WSASetLastError(a)

Definition at line 31 of file windows_common.h.