Construct Network Log should accept Port = 0 and get/return the next available TCP port
Issue #8
new
Construct Network Log Endpoint takes a port number as input. The same port number must be used Conststurct Network Sink. See below:
The TCP commands support specifying a port of 0 which returns the next available port number. I propose Construct Network Log Endpoint be able to take a port of 0 and return the port assigned. The port assigned could be accessed as an output of construction or via property node of the Log endpoint.
As a workaround, see the brittle/hacky “request for a port, quickly close that port, send the port to the Construct Network Log Endpoint, and hope that something didn’t get the port in the meantime” hack above.