Page MenuHomeDevCentral

Determine if a TCP port is open
ClosedPublic

Authored by dereckson on Jul 4 2023, 21:09.
Tags
None
Referenced Files
F35072213: D3230.diff
Mon, Jul 6, 14:44
F35059295: D3230.id8290.diff
Mon, Jul 6, 10:39
F35059216: D3230.id8291.diff
Mon, Jul 6, 10:38
F35059143: D3230.id8289.diff
Mon, Jul 6, 10:38
F35030297: D3230.diff
Mon, Jul 6, 02:53
Unknown Object (File)
Thu, Jul 2, 15:57
Unknown Object (File)
Wed, Jul 1, 23:31
Unknown Object (File)
Wed, Jul 1, 17:10
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