Page MenuHomeDevCentral

Determine if a TCP port is open
ClosedPublic

Authored by dereckson on Jul 4 2023, 21:09.
Tags
None
Referenced Files
F9604311: D3230.id8292.diff
Mon, Jun 9, 20:10
F9604182: D3230.id8289.diff
Mon, Jun 9, 20:05
F9601466: D3230.diff
Mon, Jun 9, 18:08
F9600738: D3230.id8291.diff
Mon, Jun 9, 17:30
F9600726: D3230.id8290.diff
Mon, Jun 9, 17:29
Unknown Object (File)
Mon, Jun 9, 12:02
Unknown Object (File)
Wed, Jun 4, 17:22
Unknown Object (File)
Mon, Jun 2, 22:18
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