Page MenuHomeDevCentral

Determine if a TCP port is open
ClosedPublic

Authored by dereckson on Jul 4 2023, 21:09.
Tags
None
Referenced Files
F25776748: D3230.id8291.diff
Sat, Apr 18, 05:58
F25719249: D3230.id8290.diff
Fri, Apr 17, 21:28
F25646071: D3230.id8291.diff
Fri, Apr 17, 08:51
Unknown Object (File)
Fri, Apr 17, 08:01
Unknown Object (File)
Wed, Apr 15, 10:22
Unknown Object (File)
Wed, Apr 15, 02:28
Unknown Object (File)
Mon, Apr 13, 21:42
Unknown Object (File)
Mon, Apr 13, 21:30
Subscribers
None

Details

Summary

Create SocketAddress as a representation of a protocol, IP, port set.

Make IP, IPv4 and IPv6 a hierarchy of object representing IP addresses.

Use the Socket extension, but fallback to fsockopen if it's not available.

Use case: cache library keruald/cache tests suite needs to test if
a memcached or Redis instance is available on localhost to run those tests.

Test Plan

Tested on keruald/cache draft implementation

Diff Detail

Repository
rKERUALD Keruald libraries development repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable