Registry / networking / find-a-port

find-a-port

JSON →
library1.0.1rbrubygemsunverified

Uses a TCPServer hack to find an open TCP port.

gem install find_a_port
INSTALL
IMPORT
SIG · FIND-A-PORT
F
find-a-port
networkingrubyv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FindAPort
require 'find_a_port'

Find an open TCP port

require 'find_a_port' port = FindAPort.open_port puts port
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
OpenAI (training)
1
Resources
find-a-port — gem install find-a-port · libregistry