socket_accept_connect — Accept a connection request on a listening socket of the protocol type
'HALCON' or 'TCP'/'TCP4'/'TCP6'.
socket_accept_connect accepts an incoming connection
request, generated by
open_socket_connect in another HALCON
process or from an external application, on the listening socket
AcceptingSocket. The listening socket must have been created
open_socket_accept. Its timeout determines the
timeout of the
socket_accept_connect call. If
socket_accept_connect waits until a
connection request from another HALCON process arrives. If
socket_accept_connect returns with
the error 5 (H_MSG_FAIL), if currently there are no connection requests from other
HALCON processes. The value 'auto' for
waits if the timeout of the accepting socket is not equal 0. The result of
socket_accept_connect is another socket
Socket, which is
used for a two-way communication with
another process. After this connection has been
established, data can be exchanged between the two processes by
calling the appropriate send or receive operators. For a detailed
For the data transfer with generic sockets only the operators
receive_data are available.
Socket number of the accepting socket.
Should the operator wait until a connection request arrives?
Default value: 'auto'
List of values: 'auto', 'false', 'true'