Changeset 27549 in vbox for trunk/src/VBox/Runtime/include
- Timestamp:
- Mar 19, 2010 6:26:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/socket.h
r27509 r27549 37 37 38 38 39 /** Native socket handle type. */ 40 #ifdef RT_OS_WINDOWS 41 # define RTSOCKETNATIVE SOCKET 42 #else 43 # define RTSOCKETNATIVE int 44 #endif 45 46 /** NIL value for native socket handles. */ 47 #ifdef RT_OS_WINDOWS 48 # define NIL_RTSOCKETNATIVE INVALID_SOCKET 49 #else 50 # define NIL_RTSOCKETNATIVE (-1) 51 #endif 52 53 39 54 RT_C_DECLS_BEGIN 40 55 41 56 #ifndef IPRT_INTERNAL_SOCKET_POLLING_ONLY 42 57 int rtSocketResolverError(void); 43 int rtSocketCreateForNative(RTSOCKETINT **ppSocket, 44 # ifdef RT_OS_WINDOWS 45 SOCKET hNative 46 # else 47 int hNative 48 # endif 49 ); 58 int rtSocketCreateForNative(RTSOCKETINT **ppSocket, RTSOCKETNATIVE hNative); 50 59 int rtSocketCreate(PRTSOCKET phSocket, int iDomain, int iType, int iProtocol); 51 60 int rtSocketBind(RTSOCKET hSocket, const struct sockaddr *pAddr, int cbAddr);
Note:
See TracChangeset
for help on using the changeset viewer.