IS_INVALID_SOCKET 56 ext/sockets/sockets.c # define IS_INVALID_SOCKET(a) (a->bsd_socket < 0) IS_INVALID_SOCKET 26 ext/sockets/windows_common.h #define IS_INVALID_SOCKET(a) (a->bsd_socket == INVALID_SOCKET)