首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

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

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

  • 资源大小:1.53 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: C# others

资 源 简 介

文本中的示例程序创建一个接收来自客户端的连接请求的服务器。该服务器是用同步套接字生成的,因此在等待来自客户端的连接时不挂起服务器应用程序的执行。该应用程序接收来自客户端的字符串,在控制台显示该字符串,然后将该字符串回显到客户端。来自客户端的字符串必须包含字符串“”,以发出表示消息结尾的信号。-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.

文 件 列 表

用同步套接字生成服务器.txt
VIP VIP
0.171059s