receive_region ( : Region : Socket : )

Receive regions over a socket connection.

receive_region reads a region object that was sent over the socket connection determined by Socket by another HALCON process using the operator send_region. If no regions have been sent, the HALCON process calling receive_region blocks until enough data arrives. For a detailed example, see open_socket_accept.


Parameters

Region (output_object)
region(-array) -> object
Received regions.

Socket (input_control)
socket_id -> integer
Socket number.


Parallelization Information

receive_region is reentrant and processed without parallelization.


Possible Predecessors

open_socket_connect, socket_accept_connect


See also

send_region, send_image, receive_image, send_tuple, receive_tuple, get_next_socket_data_type


Module

System



Copyright © 1996-2005 MVTec Software GmbH