点击或拖拽改变大小

NetSupport 类

静态的方法支持类,提供一些网络的静态支持,支持从套接字从同步接收指定长度的字节数据,并支持报告进度。
The static method support class provides some static support for the network, supports receiving byte data of a specified length from the socket from synchronization, and supports reporting progress.
继承层次
SystemObject
  HslCommunication.CoreNetSupport

命名空间:  HslCommunication.Core
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public static class NetSupport

NetSupport 类型公开以下成员。

方法
  名称说明
公共方法静态成员ReadFromCoreServer
公共方法静态成员ReadFromCoreServerAsync
Top
备注
在接收指定数量的字节数据的时候,如果一直接收不到,就会发生假死的状态。接收的数据时保存在内存里的,不适合大数据块的接收。
参见