- #ifndef MY_SOCKET_H
- #define MY_SOCKET_H
- int SockClientOpen(char *pszHost,char *sinPort);
- int sockClientOpen(char *pszHost,int sinPort);
- int SockServerOpen(char *sinPort,int Listenum);
- int sockServerOpen(int sinPort,int Listenum);
- int sockClose(int sHandle);
- int sockSend(int sHandle,char *pszBuf,int iLen);
- int sockRecv(int sHandle,char *pszBuf,int iMaxLen);
- int sockListen(int sHandle);
- int sockLook(int sHandle);
- #endif