From 38e3cd15a34f4d1990940184c4a72fb16d38a6d1 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 5 Aug 1997 00:28:42 +0000 Subject: [PATCH] cosmetic changes --- src/include/os/WIN32/osiSock.h | 34 +++++++++++++++---------------- src/libCom/osi/os/WIN32/osdSock.h | 34 +++++++++++++++---------------- 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/src/include/os/WIN32/osiSock.h b/src/include/os/WIN32/osiSock.h index 4c191023e..3c7de4a90 100644 --- a/src/include/os/WIN32/osiSock.h +++ b/src/include/os/WIN32/osiSock.h @@ -14,26 +14,26 @@ extern "C" { } #endif -#define SOCKERRNO WSAGetLastError() -#define socket_close(S) closesocket(S) -#define socket_ioctl(A,B,C) ioctlsocket(A,B,(unsigned long *) C) +#define SOCKERRNO WSAGetLastError() +#define socket_close(S) closesocket(S) +#define socket_ioctl(A,B,C) ioctlsocket(A,B,(unsigned long *) C) -#define MAXHOSTNAMELEN 75 -#define IPPORT_USERRESERVED 5000U -#define EWOULDBLOCK WSAEWOULDBLOCK -#define ENOBUFS WSAENOBUFS -#define ECONNRESET WSAECONNRESET -#define ETIMEDOUT WSAETIMEDOUT -#define EADDRINUSE WSAEADDRINUSE -#define ECONNREFUSED WSAECONNREFUSED -#define ECONNABORTED WSAECONNABORTED -#define EINPROGRESS WSAEINPROGRESS -#define EISCONN WSAEISCONN -#define EALREADY WSAEALREADY +#define MAXHOSTNAMELEN 75 +#define IPPORT_USERRESERVED 5000U +#define EWOULDBLOCK WSAEWOULDBLOCK +#define ENOBUFS WSAENOBUFS +#define ECONNRESET WSAECONNRESET +#define ETIMEDOUT WSAETIMEDOUT +#define EADDRINUSE WSAEADDRINUSE +#define ECONNREFUSED WSAECONNREFUSED +#define ECONNABORTED WSAECONNABORTED +#define EINPROGRESS WSAEINPROGRESS +#define EISCONN WSAEISCONN +#define EALREADY WSAEALREADY /* - * Under WIN32, FD_SETSIZE is the max. number of sockets, - * not the max. fd value that you use in select(). + * Under WIN32, FD_SETSIZE is the max. number of sockets, + * not the max. fd value that you use in select(). * * Therefore, it is difficult to detemine if any given * fd can be used with FD_SET(), FD_CLR(), and FD_ISSET(). diff --git a/src/libCom/osi/os/WIN32/osdSock.h b/src/libCom/osi/os/WIN32/osdSock.h index 4c191023e..3c7de4a90 100644 --- a/src/libCom/osi/os/WIN32/osdSock.h +++ b/src/libCom/osi/os/WIN32/osdSock.h @@ -14,26 +14,26 @@ extern "C" { } #endif -#define SOCKERRNO WSAGetLastError() -#define socket_close(S) closesocket(S) -#define socket_ioctl(A,B,C) ioctlsocket(A,B,(unsigned long *) C) +#define SOCKERRNO WSAGetLastError() +#define socket_close(S) closesocket(S) +#define socket_ioctl(A,B,C) ioctlsocket(A,B,(unsigned long *) C) -#define MAXHOSTNAMELEN 75 -#define IPPORT_USERRESERVED 5000U -#define EWOULDBLOCK WSAEWOULDBLOCK -#define ENOBUFS WSAENOBUFS -#define ECONNRESET WSAECONNRESET -#define ETIMEDOUT WSAETIMEDOUT -#define EADDRINUSE WSAEADDRINUSE -#define ECONNREFUSED WSAECONNREFUSED -#define ECONNABORTED WSAECONNABORTED -#define EINPROGRESS WSAEINPROGRESS -#define EISCONN WSAEISCONN -#define EALREADY WSAEALREADY +#define MAXHOSTNAMELEN 75 +#define IPPORT_USERRESERVED 5000U +#define EWOULDBLOCK WSAEWOULDBLOCK +#define ENOBUFS WSAENOBUFS +#define ECONNRESET WSAECONNRESET +#define ETIMEDOUT WSAETIMEDOUT +#define EADDRINUSE WSAEADDRINUSE +#define ECONNREFUSED WSAECONNREFUSED +#define ECONNABORTED WSAECONNABORTED +#define EINPROGRESS WSAEINPROGRESS +#define EISCONN WSAEISCONN +#define EALREADY WSAEALREADY /* - * Under WIN32, FD_SETSIZE is the max. number of sockets, - * not the max. fd value that you use in select(). + * Under WIN32, FD_SETSIZE is the max. number of sockets, + * not the max. fd value that you use in select(). * * Therefore, it is difficult to detemine if any given * fd can be used with FD_SET(), FD_CLR(), and FD_ISSET().