receive_tuple ( : : Socket : Tuple )

Receive a tuple over a socket connection.

receive_tuple reads a tuple that was sent over the socket connection determined by Socket by another HALCON process using the operator send_tuple. If no tuple has been sent, the HALCON process calling receive_tuple blocks until enough data arrives. For a detailed example, see open_socket_accept.


Parameters

Socket (input_control)
socket_id -> integer
Socket number.

Tuple (output_control)
string -> string
Received tuple.


Parallelization Information

receive_tuple is reentrant and processed without parallelization.


Possible Predecessors

open_socket_connect, socket_accept_connect, get_socket_timeout, set_socket_timeout


See also

send_tuple, send_image, receive_image, send_region, receive_region, get_next_socket_data_type


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH