[#IsUnixSocketPath]
= IsUnixSocketPath
:mrdocs:

Check if a string is a valid UNIX domain socket path

== Synopsis

Declared in `&lt;netbase&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
IsUnixSocketPath(std::string const& name);
----

== Return Value

Whether the string has proper format, length, and points to an existing file path

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| The string provided by the user representing a local path
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
