登录
首页 » Windows Socket编程 » WIN32 API写的第一个函数,只是传一个字符串就结束了,但是体现了socket的连接建立过程...

WIN32 API写的第一个函数,只是传一个字符串就结束了,但是体现了socket的连接建立过程...

于 2022-08-22 发布 文件大小:12.82 kB
0 141
下载积分: 2 下载次数: 1

代码说明:

WIN32 API写的第一个函数,只是传一个字符串就结束了,但是体现了socket的连接建立过程-WIN32 API to write a function of just one-on the end of a string, but the embodiment of the socket connection establishment process

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 电脑之间实现消息的发送和接收,实现简单的聊天序!
    电脑之间实现消息的发送和接收,实现简单的聊天程序!-Between the computer to send and receive messages and achieve a simple chat program!
    2022-09-15 14:00:04下载
    积分:1
  • http多线来测试网络设备稳定性,例如测试路由器,自行设计的web server等。 线可以定义,例如1000线,循环测试。...
    http多线程来测试网络设备稳定性,例如测试路由器,自行设计的web server等。 线程可以定义,例如1000线程,循环测试。-using the muli-thr http get to test the device.
    2023-04-03 13:25:03下载
    积分:1
  • P2P c++ sdk
    P2P dll c++ ,  static emReturnType SetAppType(emAppType AppType);//设置程序类型,服务器emAppType_Server或者客户端emAppType_Client  static emReturnType SetClientCallback(IMsgCallback *pMsgCallback);//设置回调类,回调类继承IMsgCallback接口  static emReturnType Startup();//开启网络  static emReturnType Cleanup();//关闭网络  //Server  以下函数是服务器调用  static emReturnType BeginService(unsigned short nPort);//如果是服务器,调用该函数开启服务,nPort:端口号  static emReturnType EndService();//服务器退出的时候,调用该函数关闭服务  //Client  以下函数是客户端调用  static emReturnType Logon(LOGONINFO* pLogonInfo);//函数登录服务器。pLogonInfo:登录信息,详细见P2PHeaderDef.h->LOGONINFO  static emReturnType Logout();//登出服务器  static emReturnType ConnectAnchor(CLIENTINFO* pClientInfo);//连接主播,该函数是用户调用  static emReturnType SendP2PMSG(CLIENTINFO* pClientInfo, char* pszMsg, int nMsgLen);//发送P2P消息,pClientInfo,要发送的客户信息,如果是用户,则pClientI
    2022-02-03 19:54:38下载
    积分:1
  • 代理类的实现例子
    代理类的实现例子-example of the realization category
    2022-02-04 07:58:57下载
    积分:1
  • TCPIP协议MCS
    tcpip协议在MCS-51上移植的C语言源代码-TCPIP agreement in MCS-51 on the transplantation of C language source code
    2022-08-08 16:52:13下载
    积分:1
  • 网络 实例 对于新接触网络成的 朋友应该是一个不错的例子。有扩展性!...
    网络编程 实例 对于新接触网络编成的 朋友应该是一个不错的例子。有扩展性!-network programming examples for the new network into contact with friends is a good example. Scalability is!
    2022-07-14 16:17:21下载
    积分:1
  • ICMP high
    Icmp高级编程 代码在vc++6.0下调试通过-ICMP high-level programming code vc++ 6.0 debugging through
    2022-12-22 17:50:03下载
    积分:1
  • 初学者入门的好教材,linux下的c/s围棋
    初学者入门的好教材,linux下的c/s围棋程序-good material, linux under the c/s Go procedures
    2022-02-13 05:17:57下载
    积分:1
  • 网络中经常要用到的对ip地址&端口的扫描,此例提供了一种端口扫描方法...
    网络编程中经常要用到的对ip地址&端口的扫描,此例程提供了一种端口扫描方法-network programming to the regular use of the ip address & port scan, the routines provide a port scan methods
    2022-03-20 07:09:09下载
    积分:1
  • TCP的客户服务器通信序 一:序运行过 1、运行服务器序,等待客户端发出请求 2、运行客户端序,输入客户的IP地址,请求连接 3、若连接成功,服务器端...
    TCP的客户服务器通信程序 一:程序运行过程 1、运行服务器程序,等待客户端发出请求 2、运行客户端程序,输入客户的IP地址,请求连接 3、若连接成功,服务器端显示客户的IP地址及端口号;客户端接收文件并保存在d:clientls.txt下,否则,显示错误信息。 二:程序实现原理 发送端:打开文件,逐一读取字符到缓冲区(缓冲区大小为1024),若文件大于1024,则成块发送;若小于,则直接发送。 接受端:与发送端同理。-TCP client-server communication program one : running a process, running the server and wait for the client to issue two requests, the client operating procedures, the importation of customer IP address, link request, if successful connection, the server-client shows the IP address and port number ; the client receives the document and preserve d : client ls.txt, otherwise an error message. 2 : Principle procedures transmitter : open the file, read each character to the buffer (buffer size for 1024), and if the document is greater than 1,024, then sent into pieces; If less, then sent directly. Receivers : Send-the same reason.
    2022-06-30 17:04:28下载
    积分:1
  • 696518资源总数
  • 106164会员总数
  • 18今日下载