00001
00025
00026 #ifndef _NETAPI_T_H__
00027 #define _NETAPI_T_H__
00028
00029 #include "tcpipapi.h"
00030
00034 #define TCPIPVECT 0xAC
00038 #define TCP SOCK_STREAM
00042 #define UDP SOCK_DGRAM
00043
00047 struct errorInfo {
00048 int errorCode;
00049 char* errorDescr;
00050 };
00051
00056 typedef struct errorInfo* errorInfoPtr;
00057
00061 struct clientInfo {
00062 char* IPAddress;
00063 unsigned int port;
00064 };
00065
00070 typedef struct clientInfo* clientInfoPtr;
00071
00075 typedef int bool;
00076
00080 typedef unsigned char byte;
00081
00082 #endif /* _NETAPI_T_H__ */