1
1

libssh2.h: on Windows, a socket is of type SOCKET, not int

Этот коммит содержится в:
Bob Kast 2014-03-20 14:43:33 -04:00 коммит произвёл Marc Hoersken
родитель fc94046e6e
Коммит 23dec383f7

Просмотреть файл

@ -281,7 +281,8 @@ typedef struct _LIBSSH2_POLLFD {
unsigned char type; /* LIBSSH2_POLLFD_* below */
union {
int socket; /* File descriptors -- examined with system select() call */
libssh2_socket_t socket; /* File descriptors -- examined with
system select() call */
LIBSSH2_CHANNEL *channel; /* Examined by checking internal state */
LIBSSH2_LISTENER *listener; /* Read polls only -- are inbound
connections waiting to be accepted? */