send_tupleT_send_tupleSendTupleSendTuple (Operator)
Name
send_tupleT_send_tupleSendTupleSendTuple
— Send a tuple over a socket connection.
Signature
Herror T_send_tuple(const Htuple Socket, const Htuple Tuple)
Description
send_tuplesend_tupleSendTupleSendTupleSendTuple
sends a tuple over the socket connection
determined by SocketSocketSocketSocketsocket
. The receiving HALCON process must
call receive_tuplereceive_tupleReceiveTupleReceiveTupleReceiveTuple
to read the tuple 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
SocketSocketSocketSocketsocket
(input_control) socket →
HSocket, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Socket number.
TupleTupleTupleTupletuple
(input_control) string →
HTupleHTupleHtuple (string / real / integer) (string / double / int / long) (HString / double / Hlong) (char* / double / Hlong)
Tuple to be sent.
Possible Predecessors
open_socket_connectopen_socket_connectOpenSocketConnectOpenSocketConnectOpenSocketConnect
,
socket_accept_connectsocket_accept_connectSocketAcceptConnectSocketAcceptConnectSocketAcceptConnect
See also
receive_tuplereceive_tupleReceiveTupleReceiveTupleReceiveTuple
,
send_imagesend_imageSendImageSendImageSendImage
,
receive_imagereceive_imageReceiveImageReceiveImageReceiveImage
,
send_regionsend_regionSendRegionSendRegionSendRegion
,
receive_regionreceive_regionReceiveRegionReceiveRegionReceiveRegion
,
get_next_socket_data_typeget_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataTypeGetNextSocketDataType
Module
Foundation