send_tupleT_send_tupleSendTupleSendTuplesend_tuple (Operator)

Name

send_tupleT_send_tupleSendTupleSendTuplesend_tuple — Send a tuple over a socket connection.

Signature

send_tuple( : : Socket, Tuple : )

Herror T_send_tuple(const Htuple Socket, const Htuple Tuple)

void SendTuple(const HTuple& Socket, const HTuple& Tuple)

void HSocket::SendTuple(const HTuple& Tuple) const

void HSocket::SendTuple(const HString& Tuple) const

void HSocket::SendTuple(const char* Tuple) const

void HSocket::SendTuple(const wchar_t* Tuple) const   (Windows only)

static void HOperatorSet.SendTuple(HTuple socket, HTuple tuple)

void HSocket.SendTuple(HTuple tuple)

void HSocket.SendTuple(string tuple)

def send_tuple(socket: HHandle, tuple: Union[float, int, str]) -> None

Description

send_tuplesend_tupleSendTupleSendTupleSendTuplesend_tuple sends a tuple over the socket connection determined by SocketSocketSocketSocketsocketsocket. The receiving HALCON process must call receive_tuplereceive_tupleReceiveTupleReceiveTupleReceiveTuplereceive_tuple to read the tuple from the socket. For a detailed example, see open_socket_acceptopen_socket_acceptOpenSocketAcceptOpenSocketAcceptOpenSocketAcceptopen_socket_accept.

Execution Information

Parameters

SocketSocketSocketSocketsocketsocket (input_control)  socket HSocket, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Socket number.

TupleTupleTupleTupletupletuple (input_control)  string HTupleUnion[float, int, str]HTupleHtuple (string / real / integer) (string / double / int / long) (HString / double / Hlong) (char* / double / Hlong)

Tuple to be sent.

Possible Predecessors

open_socket_connectopen_socket_connectOpenSocketConnectOpenSocketConnectOpenSocketConnectopen_socket_connect, socket_accept_connectsocket_accept_connectSocketAcceptConnectSocketAcceptConnectSocketAcceptConnectsocket_accept_connect

See also

receive_tuplereceive_tupleReceiveTupleReceiveTupleReceiveTuplereceive_tuple, send_imagesend_imageSendImageSendImageSendImagesend_image, receive_imagereceive_imageReceiveImageReceiveImageReceiveImagereceive_image, send_regionsend_regionSendRegionSendRegionSendRegionsend_region, receive_regionreceive_regionReceiveRegionReceiveRegionReceiveRegionreceive_region, get_next_socket_data_typeget_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataTypeGetNextSocketDataTypeget_next_socket_data_type

Module

Foundation