Page MenuHomeDevCentral

Determine if a TCP port is open
ClosedPublic

Authored by dereckson on Jul 4 2023, 21:09.
Tags
None
Referenced Files
F57041009: D3230.id8289.diff
Fri, Nov 13, 11:53
F56778738: D3230.id8289.diff
Mon, Nov 9, 07:08
F56715470: D3230.id8290.diff
Sun, Nov 8, 13:42
F56707228: D3230.id8289.diff
Sun, Nov 8, 11:36
F56591154: D3230.diff
Sat, Nov 7, 12:19
F56543340: D3230.id8291.diff
Sat, Nov 7, 00:18
F56507904: D3230.diff
Fri, Nov 6, 16:33
F56405694: D3230.id8292.diff
Thu, Nov 5, 21:09
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