Page MenuHomeDevCentral

Determine if a TCP port is open
ClosedPublic

Authored by dereckson on Jul 4 2023, 21:09.
Tags
None
Referenced Files
F7133548: D3230.id8292.diff
Mon, Apr 21, 06:01
F7121842: D3230.id8292.diff
Mon, Apr 21, 01:36
F7121220: D3230.id8291.diff
Mon, Apr 21, 01:27
F7091511: D3230.id8289.diff
Sun, Apr 20, 14:07
F7076342: D3230.id8291.diff
Sun, Apr 20, 07:29
Unknown Object (File)
Sat, Apr 19, 17:06
Unknown Object (File)
Sat, Apr 19, 12:45
Unknown Object (File)
Fri, Apr 18, 19:54
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