Page MenuHomeDevCentral

Determine if a TCP port is open
ClosedPublic

Authored by dereckson on Jul 4 2023, 21:09.
Tags
None
Referenced Files
F3767189: D3230.diff
Fri, Nov 22, 22:55
Unknown Object (File)
Sun, Nov 17, 17:11
Unknown Object (File)
Sun, Nov 17, 16:52
Unknown Object (File)
Sun, Nov 17, 12:50
Unknown Object (File)
Sun, Nov 17, 12:36
Unknown Object (File)
Tue, Nov 12, 23:10
Unknown Object (File)
Tue, Nov 12, 22:59
Unknown Object (File)
Tue, Nov 12, 14:41
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