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

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

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

  • YQJK
    舆情监控系统,设定关键字,利用搜索引擎自动搜索。(Public opinion monitoring system, set the keywords, the use of search engines automatically search.)
    2021-04-01 21:19:08下载
    积分:1
  • add-leds-speed
    C8051f120的AD程序,调节电位器控制八个led灯的亮灭和闪烁频率(C8051f120 the AD process, adjust potentiometer control eight led lights out and flicker frequency)
    2013-07-23 20:30:44下载
    积分:1
  • BeagleBone 平台和软件开发使用 c + + 新手指南
    一个速成班使用 BeagleBone 和其内置的 A /D 转换器、 GPIO 和 I2C 总线使用 c + +
    2022-12-19 22:00:03下载
    积分:1
  • pqxiebo
    这是一个电力系统谐波检测的MATLAB仿真模型,采用的是基于瞬时无功功率理论的pq法,效果很好(This is a power system harmonic detection MATLAB simulation model, based on the use of instantaneous reactive power theory pq method, the effect is very good)
    2017-04-02 11:41:05下载
    积分:1
  • OPC REDIS网关
    OPC采集并把数据存储到REDIS,并把通过REDIS执行控制命令
    2022-05-05 09:30:10下载
    积分:1
  • STM32驱动LCD1602
    采用STM32 驱动LCD1602,课增加温度湿度传感器进项测试
    2022-09-13 22:05:04下载
    积分:1
  • stm32f10x跑马灯实验
    stm32f103跑马灯程序,手把手教学,程序详细可靠,有想学的同学可以下载我的程序参考我的过程进行学习!!!!!!!
    2022-08-19 20:43:22下载
    积分:1
  • 核密度自适应阈值背景建模算法
    运用核密度自适应阈值背景建模算法对运动目标进行检测,文档加代码,实现效果较好
    2023-05-14 04:00:03下载
    积分:1
  • iperf 网络测速工具
    2023-06-17 10:20:04下载
    积分:1
  • C#实现的矩阵计算类
    这是一个C#实现的矩阵计算类,包括了SVD分解,计算伪逆矩正等等,简单易用。矩阵的数据格式是double[,] 。
    2023-07-23 14:40:03下载
    积分:1
  • 696518资源总数
  • 105563会员总数
  • 11今日下载