Go to the documentation of this file.
36 #include <gwenhywfar/gwenhywfarapi.h>
37 #include <gwenhywfar/error.h>
38 #include <gwenhywfar/inetaddr.h>
39 #include <gwenhywfar/list1.h>
40 #include <gwenhywfar/list2.h>
65 #define GWEN_SOCKET_ERROR_TYPE "Socket"
66 #define GWEN_SOCKET_ERROR_BAD_SOCKETTYPE (-1)
67 #define GWEN_SOCKET_ERROR_NOT_OPEN (-2)
68 #define GWEN_SOCKET_ERROR_TIMEOUT (-3)
69 #define GWEN_SOCKET_ERROR_IN_PROGRESS (-4)
70 #define GWEN_SOCKET_ERROR_STARTUP (-5)
71 #define GWEN_SOCKET_ERROR_INTERRUPTED (-6)
72 #define GWEN_SOCKET_ERROR_UNSUPPORTED (-7)
73 #define GWEN_SOCKET_ERROR_ABORTED (-8)
74 #define GWEN_SOCKET_ERROR_BROKEN_PIPE (-9)
122 const GWEN_SOCKET *sp);
125 const GWEN_SOCKET *sp);
127 const GWEN_SOCKET *sp);
202 GWEN_SOCKET **newsock);