Is Port Used
is_port_usedCheck whether a local TCP or UDP port is currently in use by querying the system network connection table. Use it to verify port availability before binding.
Instructions
判断本地端口是否出现在系统网络连接表中。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| protocol | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |