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

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

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

  • chap11-15
    这是Windows程序设计(第五版)第11章-第15章的源代码!(This is a Windows program design (fifth edition) Chapter 11- Chapter 15 of the source code!)
    2008-01-03 11:36:42下载
    积分:1
  • 007654
    检测鼠标信息,C++Builder精选编程学习源码,很好的参考资料。(Detecting mouse information, C++Builder select learning programming source code, a good reference.)
    2013-11-22 11:39:56下载
    积分:1
  • 5_PWM_LED
    ESP8266 PWM控制一盏LED的亮度变化。(ESP8266 PWM controls the brightness change of an LED.)
    2019-03-09 08:54:53下载
    积分:1
  • 利用HOG特征和SVM算法分类器进行人检测
    在VS2013+openCV2.4.9平台上运行,首先准备正负样本若干,进行预处理,提取正负样本的Hog特征,加入到SVM分类器进行训练,最终得到检测行人的分类器!
    2022-11-22 17:45:04下载
    积分:1
  • im_dtc_fuzzypid
    感应电机直接转矩控制系统,控制算法为模糊PID控制算法,包括模糊控制器的设计(Induction motor direct torque control system, the control algorithm for fuzzy PID control algorithm)
    2013-05-09 19:18:46下载
    积分:1
  • circle
    对圆的各个方面进行计算,如半径,面积,周长(Calculate all aspects of the circle,Such as the radius, area, and perimeter)
    2018-05-09 09:19:00下载
    积分:1
  • Matlab-Coder-VC
    一个实例说明matlab coder的使用方法,可以实现vc++中调用matlab生成的cpp文件进行两个数的乘法计算。(An example shows the use of matlab coder, can call matlab in vc++ cpp files generated multiplication of two numbers.)
    2011-11-27 14:53:50下载
    积分:1
  • IEEE4-5-14-30-57-118-300
    潮流计算,IEEE30节点的潮流计算,和牛顿法的程序报告 (power flow)
    2012-09-26 15:11:01下载
    积分:1
  • thin
    此代码是基于OPENCV设计的关于图像细化的源代码,采集图像细化所用代码(This code is based on the image thinning OPENCV design source code, the code used to capture images thinning)
    2014-09-05 16:06:42下载
    积分:1
  • 726590
    该BCB上位机程序可实现两个终端之间的对话,采用TCP协议,一个为服务器(The BCB upper computer program can realize the dialogue between the two terminals, using TCP protocol, one for the server.)
    2019-05-14 00:17:43下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载