Herror ::receive_tuple (
    const HTuple &Socket,
    char *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 -> HTuple.long
Socket number.

Tuple (output_control)
string -> char *
Received tuple.


Possible Predecessors

::open_socket_connect, ::socket_accept_connect


See also

::send_tuple, ::send_image, ::receive_image, ::send_region, ::receive_region, ::get_next_socket_data_type


Module

System



Copyright © 1996-2002 MVTec Software GmbH