Page MenuHomeDevCentral

Determine if a TCP port is open
ClosedPublic

Authored by dereckson on Jul 4 2023, 21:09.
Tags
None
Referenced Files
F3658697: D3230.id.diff
Tue, Oct 15, 18:47
F3658662: D3230.diff
Tue, Oct 15, 18:28
Unknown Object (File)
Sun, Oct 13, 15:00
Unknown Object (File)
Fri, Oct 11, 02:18
Unknown Object (File)
Thu, Oct 10, 21:16
Unknown Object (File)
Sat, Oct 5, 18:10
Unknown Object (File)
Fri, Oct 4, 15:19
Unknown Object (File)
Fri, Oct 4, 14: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