NetworkDoubleBaseSetPipeSocket 方法 |
设置一个新的网络管道,一般来说不需要调用本方法,当多个网口设备共用一个网络连接时才需要使用本方法进行设置共享的管道。
To set up a new network channel, generally speaking, you do not need to call this method. This method is only needed to set up a shared channel when multiple network port devices share a network connection.
命名空间:
HslCommunication.Core.Net
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public void SetPipeSocket(
PipeSocket pipeSocket
)
Public Sub SetPipeSocket (
pipeSocket As PipeSocket
)
public:
void SetPipeSocket(
PipeSocket^ pipeSocket
)
member SetPipeSocket :
pipeSocket : PipeSocket -> unit
参数
- pipeSocket
- 类型:HslCommunication.Core.PipePipeSocket
共享的网络通道
备注
如果需要设置共享的网络管道的话,需要是设备类对象实例化之后立即进行设置。
If you need to set up a shared network pipe, you need to set it immediately after the device class object is instantiated.
参见