Use portend to monitor TCP ports for bound or unbound states.
The portend may also be executed directly. If the function succeeds, it returns nothing and exits with a status of 0. If it fails, it prints a message and exits with a status of 1. For example::
Portend also exposes a
find_available_local_port
for identifying a suitable port for binding locally::
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
2.5-bp152.1.8 info | GA Release | 2020-04-17 | 15 SP2 |
|
|