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 earlier with open_socket_accept. Its timeout determines the timeout of the socket_accept_connect call. If Wait='true', socket_accept_connect waits until a connection request from another HALCON process arrives. If Wait='false', socket_accept_connect returns with the error FAIL, if currently there are no connection requests from other HALCON processes. The value 'auto' for Wait automatically 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 example, see open_socket_accept.
For the data transfer with generic sockets only the operators send_data and 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'
send_image, receive_image, send_region, receive_region, send_tuple, receive_tuple, send_data, receive_data
open_socket_connect, close_socket, get_socket_param, set_socket_param