SV_TCP.H
上传用户:bjghjy
上传日期:2007-01-07
资源大小:379k
文件大小:2k
- #define START_SIGN (BYTE)0xf0
- int PROTO_USE;
- BOOL gfReadData;
- BOOL running, run_cancelled;
- BOOL FileTranLock;
- int ShoutBlockingHook (void);
- LPSTR GetError(LPSTR err_prefix);
- void SendError(int sd, struct sockaddr * lpdest);
- int MaxMinFillData(int jys, int maxmin);
- int SendDataDay(int sd, LPSTR, struct sockaddr *);
- int SendMsg(int sd, LPSTR);
- int AnaRecvData(int sd,int type);
- int UDP_ReadHq(int sd,char * RecvBuf,int len,struct sockaddr_in dest);
- int UDP_ReadJy(int sd,char * RecvBuf,int len,struct sockaddr_in dest);
- int UDP_Server_Send_GetZqmc(int sd, LPSTR, struct sockaddr *);
- int UDP_Server_Send_HqChkUsr(int sd, LPSTR, struct sockaddr *);
- int UDP_Send_File(int sd,FILE_INFO_FRAME * FileInfo);
- int UDP_Server_Send_Hq00(int sd, int, struct sockaddr *lpdest);
- int Delay_Send_Hq01(LPDEST_INFO lpDest);
- int Send_Hq01(int sd, LPSTR lpTmp, struct sockaddr *lpdest);
- int UDP_Server_Send_Hq01(int sd, LPSTR, struct sockaddr *lpdest);
- int UDP_Server_Send_Dp(int sd, struct sockaddr *lpdest, BOOL, LPDEST_INFO);
- int UDP_Server_Send_Mmp(int sd, int jys, short rec_num, struct sockaddr *lpdest, BOOL, LPDEST_INFO);
- int UDP_Server_Send_MaxMin10(int sd, int jys, int maxmin, struct sockaddr *lpdest, BOOL, LPDEST_INFO);
- int UDP_Server_Send_Zx(int sd, LPSTR lpTmp, struct sockaddr *lpdest);
- int UDP_Server_Send_Gra00(int sd, int jys, short gp_rec_num,GRA_HEAD *GraHead);
- int Send_Gra01(int sd, LPSTR, struct sockaddr *lpdest);
- int UDP_Server_Send_Gra01(int sd, LPSTR, struct sockaddr *lpdest);
- int UDP_Server_Jy_ChkUsr(int sd, LPJY_ASK_CHKUSR, struct sockaddr *lpdest);
- int UDP_Server_Jy_ChgPwd(int sd, LPJY_ASK_CHGPWD, struct sockaddr *lpdest);
- int UDP_Server_Jy_BuySell(int sd, LPJY_ASK_BUYSELL, struct sockaddr *lpdest);
- int UDP_Server_Jy_Cancel(int sd, LPJY_ASK_CANCEL, struct sockaddr *lpdest);
- int UDP_Server_Jy_Yecx(int sd, LPJY_ASK_YECX, struct sockaddr *lpdest);
- int UDP_Server_Jy_Wtcx(int sd, LPJY_ASK_WTCX, struct sockaddr *lpdest);
- int UDP_Server_Jy_Cjcx(int sd, LPJY_ASK_CJCX, struct sockaddr *lpdest);
- int Thrd_SendBuff(LPSTR lpMsg, int sd, LPSTR, int len,
- struct sockaddr *lpdest, LPDEST_INFO);
- int HI_UDP_SendBuff(LPSTR lpMsg, int sd, LPSTR lpBuf,
- int len, LPDEST_INFO lpDestInfo);
- int UDP_SendBuff(LPSTR lpMsg, int sd, LPSTR lpBuf,
- int len, LPDEST_INFO lpDestInfo);
- int LOW_UDP_SendBuff(LPSTR lpMsg, int sd, LPSTR, int len,
- struct sockaddr *lpdest, LPDEST_INFO);
- void ReadySysFile(void);
- int SendMemData(int sd,char *mem,int memlen);
- int SendDayData(int sd, LPSTR lpTmp, struct sockaddr *lpdest);