Page MenuHomeDevCentral

Determine if a TCP port is open
ClosedPublic

Authored by dereckson on Jul 4 2023, 21:09.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 7, 15:49
Unknown Object (File)
Wed, May 7, 11:45
Unknown Object (File)
Sun, May 4, 19:53
Unknown Object (File)
Sun, May 4, 00:59
Unknown Object (File)
Sat, May 3, 16:39
Unknown Object (File)
Thu, May 1, 12:01
Unknown Object (File)
Thu, May 1, 01:23
Unknown Object (File)
Tue, Apr 29, 01:26
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