Page MenuHomeDevCentral

Determine if a TCP port is open
ClosedPublic

Authored by dereckson on Jul 4 2023, 21:09.
Tags
None
Referenced Files
F12417763: D3230.id.diff
Tue, Nov 4, 04:58
F12408371: D3230.id8291.diff
Mon, Nov 3, 08:05
Unknown Object (File)
Wed, Oct 29, 20:13
Unknown Object (File)
Sat, Oct 25, 16:46
Unknown Object (File)
Fri, Oct 24, 01:30
Unknown Object (File)
Thu, Oct 23, 13:02
Unknown Object (File)
Wed, Oct 22, 20:20
Unknown Object (File)
Mon, Oct 20, 22:08
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