xClient_DLL_0.3

所属分类:Windows编程
开发工具:Visual C++
文件大小:9KB
下载次数:11
上传日期:2008-12-11 12:53:46
上 传 者yanj_20
说明:  客户端的动态链接库和静态链接库文件,内有详细的函数说明
(Client s dynamic-link library and static link library files, there is a detailed description of function)

文件列表:
xClient\xClient.cpp (7228, 2008-07-28)
xClient\xClient.dsp (4219, 2008-07-28)
xClient\xClient.dsw (537, 2008-07-28)
xClient\xClient.h (1100, 2008-07-28)
xClient\xClient.ncb (50176, 2008-07-28)
xClient\xClient.opt (53760, 2008-07-28)
xClient\xClient.plg (248, 2008-07-28)
线程模式发送接收数据.txt (844, 2008-07-28)
xClient\Debug (0, 2008-07-28)
xClient\Release (0, 2008-07-28)
xClient (0, 2008-07-28)

xClient.dll和xClient.lib是客户端的动态链接库和静态链接库文件,主要包含如下函数: //与服务器端建立连接IPADDR为服务器IP地址,PORT为服务器端口 SOCKET CreateConnection(char *IPADDR,int PORT); //关闭连接,sClientSock为已经建立的链接套接字 int CloseConnection(SOCKET sClientSock); //线程模式发送数据,Sock为和对方已建立链接的套接字,MSG为要发送的消息,bufflen为发送长度 int SendMSGByThread(SOCKET Sock,char *MSG,UINT bufflen) //线程模式接收数据,Sock为和对方已建立链接的套接字,MSG为接收消息的存放位置,bufflen为发送长度 int ReceiveMSGByThread(SOCKET Sock,char *MSG,UINT bufflen) //发送数据,sClientSock 为和对方已建立链接的套接字,MSG为要发送的消息 int SendMSG(SOCKET sClientSock,char *MSG); //接收数据,sClientSock 为和对方已建立链接的套接字,MSG为接收消息的存放位置 int ReceiveMSG(SOCKET sClientSock,char *MSG); //接收数据

近期下载者

相关文件


收藏者