Page MenuHomeDevCentral

Determine if a TCP port is open
ClosedPublic

Authored by dereckson on Jul 4 2023, 21:09.
Tags
None
Referenced Files
F10877606: D3230.id8289.diff
Sun, Aug 3, 03:11
Unknown Object (File)
Fri, Aug 1, 23:37
Unknown Object (File)
Wed, Jul 30, 13:12
Unknown Object (File)
Tue, Jul 29, 16:16
Unknown Object (File)
Mon, Jul 28, 15:01
Unknown Object (File)
Sat, Jul 26, 20:11
Unknown Object (File)
Sat, Jul 26, 18:31
Unknown Object (File)
Sat, Jul 26, 15:15
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