Changeset 21 in libcf for trunk/include/cf_socket.h
- Timestamp:
- 02/01/13 17:46:09 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/cf_socket.h
r6 r21 7 7 #include "cf_base.h" 8 8 #include <stddef.h> 9 10 #ifdef _WIN32 11 # include <WinSock2.h> 12 #else 13 # include <netinet/in.h> 14 # include <sys/socket.h> 15 # include <arpa/inet.h> 16 # include <netdb.h> 17 # include <unistd.h> 18 #endif 9 19 10 20 #define CF_ERROR_SOCKET_INITIALIZE CF_ERROR_SOCKET - 1 … … 71 81 72 82 CF_EXPORT int 73 CF_Socket_Accept (const int sock,74 void * address /* struct sockaddr_in * */);83 CF_Socket_Accept (const int sock, 84 struct sockaddr_in * address); 75 85 76 86 CF_EXPORT int
Note:
See TracChangeset
for help on using the changeset viewer.