Herror ::receive_region (
    Hobject *Region,
    const HTuple &Socket
)
HRegion HRegion::ReceiveRegion (
    const HTuple &Socket
)
HRegionArray HRegionArray::ReceiveRegion (
    const HTuple &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) -> Hobject * : HRegion(Array)
Received regions.

Socket (input_control)
socket_id -> HTuple.long
Socket number.


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-2002 MVTec Software GmbH