Skip to content

System - Sockets🔗

Operators🔗

close_socketCloseSocket: Close a socket.

get_next_socket_data_typeGetNextSocketDataType: Determine the HALCON data type of the next socket data.

get_socket_descriptorGetSocketDescriptor: Get the socket descriptor of a socket used by the operating system.

get_socket_paramGetSocketParam: Get the value of a socket parameter.

open_socket_acceptOpenSocketAccept: Open a socket that accepts connection requests.

open_socket_connectOpenSocketConnect: Open a socket and connect it to an accepting socket.

receive_dataReceiveData: Receive arbitrary data from external devices or applications using a generic socket connection.

receive_imageReceiveImage: Receive an image over a socket connection.

receive_regionReceiveRegion: Receive regions over a socket connection.

receive_serialized_itemReceiveSerializedItem: Receive a serialized item over a socket connection.

receive_tupleReceiveTuple: Receive a tuple over a socket connection.

receive_xldReceiveXld: Receive an XLD object over a socket connection.

send_dataSendData: Send arbitrary data to external devices or applications using a generic socket communication.

send_imageSendImage: Send an image over a socket connection.

send_regionSendRegion: Send regions over a socket connection.

send_serialized_itemSendSerializedItem: Send a serialized item over a socket connection.

send_tupleSendTuple: Send a tuple over a socket connection.

send_xldSendXld: Send an XLD object over a socket connection.

set_socket_paramSetSocketParam: Set a socket parameter.

socket_accept_connectSocketAcceptConnect: Accept a connection request on a listening socket of the protocol type 'HALCON'"HALCON" or 'TCP'"TCP"/'TCP4'"TCP4"/'TCP6'"TCP6".