Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

HSocket (Class)

名称

HSocket — Represents an instance of a socket connection.

Constructors

OpenSocketConnect    打开套接字并将其连接到接受的套接字。
OpenSocketAccept    打开接受连接请求的套接字。

Methods

CloseAllSockets    This operator is inoperable. It had the following function: Close all opened sockets.
CloseSocket    关闭一个套接字。
GetNextSocketDataType    Determine the data type of the next socket data.
GetSocketDescriptor    Get the socket descriptor of a socket used by the operating system.
GetSocketParam    Get the value of a socket parameter.
OpenSocketAccept    打开接受连接请求的套接字。
OpenSocketConnect    打开套接字并将其连接到接受的套接字。
ReceiveData    Receive arbitrary data from external devices or applications using a generic socket connection.
ReceiveImage    Receive an image over a socket connection.
ReceiveRegion    Receive regions over a socket connection.
ReceiveSerializedItem    从一个套接字连接上接收一个序列化项。
ReceiveTuple    Receive a tuple over a socket connection.
ReceiveXld    Receive an XLD object over a socket connection.
SendData    Send arbitrary data to external devices or applications using a generic socket communication.
SendImage    Send an image over a socket connection.
SendRegion    Send regions over a socket connection.
SendSerializedItem    通过一个套接字连接发送一个序列化项目。
SendTuple    Send a tuple over a socket connection.
SendXld    Send an XLD object over a socket connection.
SetSocketParam    Set a socket parameter.
SocketAcceptConnect    Accept a connection request on a listening socket of the protocol type 'HALCON'"HALCON""HALCON""HALCON""HALCON""HALCON" or 'TCP'"TCP""TCP""TCP""TCP""TCP"/'TCP4'"TCP4""TCP4""TCP4""TCP4""TCP4"/'TCP6'"TCP6""TCP6""TCP6""TCP6""TCP6".

HSocket (Class)

名称

HSocket — Represents an instance of a socket connection.

Constructors

OpenSocketConnect    打开套接字并将其连接到接受的套接字。
OpenSocketAccept    打开接受连接请求的套接字。

Methods

CloseAllSockets    This operator is inoperable. It had the following function: Close all opened sockets.
CloseSocket    关闭一个套接字。
GetNextSocketDataType    Determine the data type of the next socket data.
GetSocketDescriptor    Get the socket descriptor of a socket used by the operating system.
GetSocketParam    Get the value of a socket parameter.
OpenSocketAccept    打开接受连接请求的套接字。
OpenSocketConnect    打开套接字并将其连接到接受的套接字。
ReceiveData    Receive arbitrary data from external devices or applications using a generic socket connection.
ReceiveImage    Receive an image over a socket connection.
ReceiveRegion    Receive regions over a socket connection.
ReceiveSerializedItem    从一个套接字连接上接收一个序列化项。
ReceiveTuple    Receive a tuple over a socket connection.
ReceiveXld    Receive an XLD object over a socket connection.
SendData    Send arbitrary data to external devices or applications using a generic socket communication.
SendImage    Send an image over a socket connection.
SendRegion    Send regions over a socket connection.
SendSerializedItem    通过一个套接字连接发送一个序列化项目。
SendTuple    Send a tuple over a socket connection.
SendXld    Send an XLD object over a socket connection.
SetSocketParam    Set a socket parameter.
SocketAcceptConnect    Accept a connection request on a listening socket of the protocol type 'HALCON'"HALCON""HALCON""HALCON""HALCON""HALCON" or 'TCP'"TCP""TCP""TCP""TCP""TCP"/'TCP4'"TCP4""TCP4""TCP4""TCP4""TCP4"/'TCP6'"TCP6""TCP6""TCP6""TCP6""TCP6".

Use the tabs on the upper right to switch to a different programming language.