send_regionT_send_regionSendRegionSendRegion (Operator)
Name
send_regionT_send_regionSendRegionSendRegion
— Send regions over a socket connection.
Signature
Herror T_send_region(const Hobject Region, const Htuple Socket)
Description
send_regionsend_regionSendRegionSendRegionSendRegion
sends a region object over the socket connection
determined by SocketSocketSocketSocketsocket
. The receiving HALCON process must
call receive_regionreceive_regionReceiveRegionReceiveRegionReceiveRegion
to read the regions from the socket.
For a detailed example, see open_socket_acceptopen_socket_acceptOpenSocketAcceptOpenSocketAcceptOpenSocketAccept
.
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) →
objectHRegionHRegionHobject
Regions to be sent.
SocketSocketSocketSocketsocket
(input_control) socket →
HSocket, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Socket number.
Possible Predecessors
open_socket_connectopen_socket_connectOpenSocketConnectOpenSocketConnectOpenSocketConnect
,
socket_accept_connectsocket_accept_connectSocketAcceptConnectSocketAcceptConnectSocketAcceptConnect
See also
receive_regionreceive_regionReceiveRegionReceiveRegionReceiveRegion
,
send_imagesend_imageSendImageSendImageSendImage
,
receive_imagereceive_imageReceiveImageReceiveImageReceiveImage
,
send_tuplesend_tupleSendTupleSendTupleSendTuple
,
receive_tuplereceive_tupleReceiveTupleReceiveTupleReceiveTuple
,
get_next_socket_data_typeget_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataTypeGetNextSocketDataType
Module
Foundation