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

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

于 2022-03-17 发布 文件大小:1.53 kB
0 169
下载积分: 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 个回复

  • InTech-Feature_extraction_and_representation_for_
    System will automatically delete the directory of debug and release, so please do not put files on these two directory.
    2012-01-22 13:16:29下载
    积分:1
  • 实验24 IIC实验
    STM32F429 AT24C02 IIC通信(STM32F429 AT24C02 IICconnect)
    2020-06-18 09:40:01下载
    积分:1
  • FreeRTOS中文实用教程
    说明:  学习使用freertos,对学习的新手来说很有帮助,这个资料很全,讲解的也很详细(Learning to use FreeRTOS is very helpful for novice learners. This information is very complete and the explanation is very detailed)
    2020-06-24 20:20:01下载
    积分:1
  • RLC
    The programme under Matlab could be used to calculate coefficient in a typical RLC circuit.
    2011-03-15 13:57:21下载
    积分:1
  • WCFTranFile2
    说明:  C#大文件传输之SOCKET同步、异步、WCF同步、异步(C# SOCKET large file transfer of synchronous, asynchronous, WCF synchronous, asynchronous)
    2011-04-08 15:26:26下载
    积分:1
  • C语言各种标准函数的使用
    1. 掌握C语言各种标准函数的使用,并学会通过在线帮助了解标准函数使用方法以及对应的头文件。 2. 掌握C数据输入输出方法,包括格式化I/O、字符串I/O以及cin/cout流I/O。 3. 学会正确使用逻辑运算符及逻辑表达式,注意“= =”“=”的区别。 4. 掌握选择分支结构的使用,包括if语句 和switch语句(两种形式)。 5. 注意培养良好的程序设计习惯和风格.通过编程及上机调试,进一步提高编程能力.
    2022-01-26 02:49:20下载
    积分:1
  • C语言开发的贪吃蛇
    C语言开发的贪吃蛇代码、采用双缓冲技术、对闪烁大幅度降低、适合初学者研究
    2023-07-09 23:05:07下载
    积分:1
  • beyond compare3.3.5
    说明:  文件对比用软件,用于单个文件之间对比,代码对比,多个文件对比等(beyond compare is a useful software, which can be helpful for you to compare two file and find the difference between them)
    2019-04-16 23:17:42下载
    积分:1
  • main
    2 barcode for visual C++(2 Barcode)
    2014-10-14 15:06:11下载
    积分:1
  • range_image_border_extraction
    利用PCL库,基于深度图像,进行点云特征提取(Based on the depth image, feature extraction of point cloud)
    2015-04-02 22:15:35下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载