send_regionT_send_regionSendRegionSendRegionsend_region (Operator)
Name
send_regionT_send_regionSendRegionSendRegionsend_region
— Send regions over a socket connection.
Signature
Herror T_send_region(const Hobject Region, const Htuple Socket)
Description
send_regionsend_regionSendRegionSendRegionsend_region
sends a region object over the socket connection
determined by SocketSocketSocketsocketsocket
. The receiving HALCON process must
call receive_regionreceive_regionReceiveRegionReceiveRegionreceive_region
to read the regions from the socket.
For a detailed example, see open_socket_acceptopen_socket_acceptOpenSocketAcceptOpenSocketAcceptopen_socket_accept
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
RegionRegionRegionregionregion
(input_object) region(-array) →
objectHRegionHObjectHObjectHobject
Regions to be sent.
SocketSocketSocketsocketsocket
(input_control) socket →
HSocket, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Socket number.
Possible Predecessors
open_socket_connectopen_socket_connectOpenSocketConnectOpenSocketConnectopen_socket_connect
,
socket_accept_connectsocket_accept_connectSocketAcceptConnectSocketAcceptConnectsocket_accept_connect
See also
receive_regionreceive_regionReceiveRegionReceiveRegionreceive_region
,
send_imagesend_imageSendImageSendImagesend_image
,
receive_imagereceive_imageReceiveImageReceiveImagereceive_image
,
send_tuplesend_tupleSendTupleSendTuplesend_tuple
,
receive_tuplereceive_tupleReceiveTupleReceiveTuplereceive_tuple
,
get_next_socket_data_typeget_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataTypeget_next_socket_data_type
Module
Foundation