Page MenuHomeDevCentral

Determine if a TCP port is open
ClosedPublic

Authored by dereckson on Jul 4 2023, 21:09.
Tags
None
Referenced Files
F53484415: D3230.diff
Sat, Oct 10, 08:09
F53465689: D3230.id8289.diff
Sat, Oct 10, 05:10
F53465627: D3230.id8291.diff
Sat, Oct 10, 05:10
F53465615: D3230.id8292.diff
Sat, Oct 10, 05:10
F53465601: D3230.id8290.diff
Sat, Oct 10, 05:10
F53465413: D3230.diff
Sat, Oct 10, 05:08
F53432572: D3230.id8289.diff
Fri, Oct 9, 22:15
Unknown Object (File)
Thu, Oct 8, 11:45
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