Classes |
struct | _FETCP_EVENT_INIT |
Defines |
#define | CALLBACK |
#define | DLL_EXT_FUNC |
#define | FETCP_ADD_EVENT_HANDLER 1210 |
#define | FETCP_CALL |
#define | FETCP_CALLBACK 3 |
#define | FETCP_CONNECT 1221 |
#define | FETCP_DEL_EVENT_HANDLER 1211 |
#define | FETCP_DETECT 1220 |
#define | FETCP_DEV_DISCONNECT_EVENT 2 |
#define | FETCP_DISCONNECT 1222 |
#define | FETCP_ERR_BUFFER_OVERFLOW -1270 |
#define | FETCP_ERR_CHANGE_SOCKET_PARA -1236 |
#define | FETCP_ERR_CLOSE_CONNECTION -1213 |
#define | FETCP_ERR_EMPTY_LIST -1201 |
#define | FETCP_ERR_GET_CONNECTION_STATE -1238 |
#define | FETCP_ERR_HND_IS_NEGATIVE -1222 |
#define | FETCP_ERR_HND_IS_NULL -1221 |
#define | FETCP_ERR_NEWSOCKET_FAILURE -1200 |
#define | FETCP_ERR_NO_CONNECTION -1211 |
#define | FETCP_ERR_NO_HND_FOUND -1223 |
#define | FETCP_ERR_NO_MEMORY -1203 |
#define | FETCP_ERR_ODD_PARAMETERSTRING -1252 |
#define | FETCP_ERR_PARAMETER_OUT_OF_RANGE -1251 |
#define | FETCP_ERR_POINTER_IS_NULL -1202 |
#define | FETCP_ERR_RECEIVE_PROCESS -1232 |
#define | FETCP_ERR_SERVER_ADDR -1212 |
#define | FETCP_ERR_SERVER_NOT_FOUND -1205 |
#define | FETCP_ERR_TIMEOUT -1230 |
#define | FETCP_ERR_TRANSMIT_PROCESS -1237 |
#define | FETCP_ERR_UNKNOWN_ERRORCODE -1254 |
#define | FETCP_ERR_UNKNOWN_HND -1220 |
#define | FETCP_ERR_UNKNOWN_PARAMETER -1250 |
#define | FETCP_EXT_CALL |
#define | FETCP_GET_DLL_VERSION 1200 |
#define | FETCP_GET_ERROR_TEXT 1201 |
#define | FETCP_GET_LAST_ERROR 1202 |
#define | FETCP_GET_SOCKET_HND 1226 |
#define | FETCP_GET_SOCKET_LIST 1223 |
#define | FETCP_GET_SOCKET_PARA 1224 |
#define | FETCP_GET_SOCKET_STATE 1227 |
#define | FETCP_RECEIVE 1232 |
#define | FETCP_SET_SOCKET_PARA 1225 |
#define | FETCP_STATE_CLOSE_WAIT 8 |
#define | FETCP_STATE_CLOSED 1 |
#define | FETCP_STATE_CLOSING 9 |
#define | FETCP_STATE_DELETE_TCB 12 |
#define | FETCP_STATE_ESTABLISHED 5 |
#define | FETCP_STATE_FIN_WAIT1 6 |
#define | FETCP_STATE_FIN_WAIT2 7 |
#define | FETCP_STATE_LAST_ACK 10 |
#define | FETCP_STATE_LISTEN 2 |
#define | FETCP_STATE_SYN_RCVD 4 |
#define | FETCP_STATE_SYN_SENT 3 |
#define | FETCP_STATE_TIME_WAIT 11 |
#define | FETCP_THREAD_ID 1 |
#define | FETCP_TRANSCEIVE 1230 |
#define | FETCP_TRANSMIT 1231 |
#define | FETCP_WND_HWND 2 |
Typedefs |
typedef struct _FETCP_EVENT_INIT | FETCP_EVENT_INIT |
typedef int(CALLBACK * | LPFN_FETCP_ADD_EVENT_HANDLER )(int, FETCP_EVENT_INIT *) |
typedef int(CALLBACK * | LPFN_FETCP_CONNECT )(char *, int) |
typedef int(CALLBACK * | LPFN_FETCP_DEL_EVENT_HANDLER )(int, FETCP_EVENT_INIT *) |
typedef int(CALLBACK * | LPFN_FETCP_DETECT )(char *, int) |
typedef int(CALLBACK * | LPFN_FETCP_DISCONNECT )(int) |
typedef void(CALLBACK * | LPFN_FETCP_GET_DLL_VERSION )(char *) |
typedef int(CALLBACK * | LPFN_FETCP_GET_ERROR_TEXT )(int, char *) |
typedef int(CALLBACK * | LPFN_FETCP_GET_LAST_ERROR )(int, int *, char *) |
typedef int(CALLBACK * | LPFN_FETCP_GET_SOCKET_HND )(char *, int) |
typedef int(CALLBACK * | LPFN_FETCP_GET_SOCKET_LIST )(int) |
typedef int(CALLBACK * | LPFN_FETCP_GET_SOCKET_PARA )(int, char *, char *) |
typedef int(CALLBACK * | LPFN_FETCP_GET_SOCKET_STATE )(char *, int) |
typedef int(CALLBACK * | LPFN_FETCP_RECEIVE )(int, unsigned char *, int) |
typedef int(CALLBACK * | LPFN_FETCP_SET_SOCKET_PARA )(int, char *, char *) |
typedef int(CALLBACK * | LPFN_FETCP_TRANSCEIVE )(int, unsigned char *, int, unsigned char *, int) |
typedef int(CALLBACK * | LPFN_FETCP_TRANSMIT )(int, unsigned char *, int) |
Functions |
int DLL_EXT_FUNC | FETCP_AddEventHandler (int iSocketHnd, FETCP_EVENT_INIT *pInit) |
int DLL_EXT_FUNC | FETCP_Connect (char *cHostAdr, int iPortNr) |
int DLL_EXT_FUNC | FETCP_DelEventHandler (int iSocketHnd, FETCP_EVENT_INIT *pInit) |
int DLL_EXT_FUNC | FETCP_Detect (char *cHostAdr, int iPortNr) |
int DLL_EXT_FUNC | FETCP_DisConnect (int iSocketHnd) |
void DLL_EXT_FUNC | FETCP_GetDLLVersion (char *cVersion) |
int DLL_EXT_FUNC | FETCP_GetErrorText (int iErrorCode, char *cErrorText) |
int DLL_EXT_FUNC | FETCP_GetLastError (int iSocketHnd, int *iErrorCode, char *cErrorText) |
int DLL_EXT_FUNC | FETCP_GetSocketHnd (char *cHostAdr, int iPortNr) |
int DLL_EXT_FUNC | FETCP_GetSocketList (int iNext) |
int DLL_EXT_FUNC | FETCP_GetSocketPara (int iSocketHnd, char *cPara, char *cValue) |
int DLL_EXT_FUNC | FETCP_GetSocketState (char *cHostAdr, int iPortNr) |
int DLL_EXT_FUNC | FETCP_Receive (int iSocketHnd, unsigned char *cRecProt, int iRecLen) |
int DLL_EXT_FUNC | FETCP_SetSocketPara (int iSocketHnd, char *cPara, char *cValue) |
int DLL_EXT_FUNC | FETCP_Transceive (int iSocketHnd, unsigned char *cSendProt, int iSendLen, unsigned char *cRecProt, int iRecLen) |
int DLL_EXT_FUNC | FETCP_Transmit (int iSocketHnd, unsigned char *cSendProt, int iSendLen) |