Page MenuHomeDevCentral

Determine if a TCP port is open
ClosedPublic

Authored by dereckson on Jul 4 2023, 21:09.
Tags
None
Referenced Files
F2311615: D3230.id8290.diff
Sun, Oct 1, 11:26
Unknown Object (File)
Sun, Sep 24, 16:44
Unknown Object (File)
Sun, Sep 24, 07:34
Unknown Object (File)
Fri, Sep 22, 22:26
Unknown Object (File)
Thu, Sep 21, 04:16
Unknown Object (File)
Wed, Sep 20, 05:00
Unknown Object (File)
Wed, Sep 20, 04:39
Unknown Object (File)
Mon, Sep 11, 13:34
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