tryParseSocket

Tries to parse a socket string

Supports both IPv4 and IPv6. Does limited validating.

@safe pure
bool
tryParseSocket
(
string s
,)

Return Value

Type: bool

true if parsing was successfull, false indicates bad/invalid input

Meta