登录
首页 » C# » 文本中的示例程序创建一个接收来自客户端的连接请求的服务器。该服务器是用同步套接字生成的,因此在等待来自客户端的连接时不挂起服务器应用程序的执行。该应用程序接收来...

文本中的示例程序创建一个接收来自客户端的连接请求的服务器。该服务器是用同步套接字生成的,因此在等待来自客户端的连接时不挂起服务器应用程序的执行。该应用程序接收来...

于 2022-03-17 发布 文件大小:1.53 kB
0 114
下载积分: 2 下载次数: 1

代码说明:

文本中的示例程序创建一个接收来自客户端的连接请求的服务器。该服务器是用同步套接字生成的,因此在等待来自客户端的连接时不挂起服务器应用程序的执行。该应用程序接收来自客户端的字符串,在控制台显示该字符串,然后将该字符串回显到客户端。来自客户端的字符串必须包含字符串“”,以发出表示消息结尾的信号。-version of the sample program to create a client from receiving a link to the server. The server is simultaneously generated socket, waiting for the client from the connection is not purely server applications implementation. The application received from the client"s string, the console showed that the string, and then save the string back significantly to the client. From the client"s string must contain the string "lt; EOFgt; , "Said information sent to the end of the signal.

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

发表评论

0 个回复

  • DAC7811
    DAC7811驱动,好用的,测试电路是芯片手册12页给出的电路(The driver of DAC7811,I tested it and it could work well.)
    2020-12-13 22:49:14下载
    积分:1
  • facegui
    reconocimiento de rostros
    2011-07-16 01:56:04下载
    积分:1
  • LTC6811G-1-PCB
    说明:  LTC6811,完整测试板原理图与pcb设计图。(LTC6811 Multicell Battery Monitors)
    2021-04-06 16:29:02下载
    积分:1
  • 克里金算法
    本算法实现了克里金算法的插值运算,计算简单方便,能够实现地质体二维、三维数据拟合操作。但需要用户导入相关数据,然后进行插值。
    2022-02-09 22:32:10下载
    积分:1
  • RdlViewer
    Send report on Email example
    2015-01-19 20:49:46下载
    积分:1
  • iatche-program
    一个不错的抓图程序 A nice catcher(A good drawing program A nice catche)
    2018-12-30 09:33:31下载
    积分:1
  • Move
    覆盖本地文件,删除原文件,复制、重命名再粘贴(Overwrite local files, delete original files, copy, rename and paste.)
    2020-06-17 07:00:02下载
    积分:1
  • VCamatlab
    VC++与matlab混合编程实例和VC调用matab生成的DLL说明(The mixed VC++ with matlab programming examples and generated by the VC call matab DLL description)
    2021-03-04 19:09:32下载
    积分:1
  • chat
    一个mfc聊天程序,是使用Csock类,服务端和客户端相互通信(A MFC chat program, using the Csock class, servers and clients communicate with each other)
    2018-12-22 22:43:21下载
    积分:1
  • ML5238-Ver1.0
    5-16串电池管理方案,含原理图和芯片资料。具有电压测量、过充、过放、过流、均衡等功能。(5-16 string battery management solutions, including schematics and chip data. With voltage measurement, overcharge, over discharge, over current, balance and other functions.)
    2020-12-14 18:09:14下载
    积分:1
  • 696518资源总数
  • 105918会员总数
  • 20今日下载