= The `UnixSockUtil` structure
:Author: John Reppy
:Date: {release-date}
:stem: latexmath
:source-highlighter: pygments
:VERSION: {smlnj-version}

The `UnixSockUtil` structure extends the xref:str-SockUtil.adoc[`SockUtil`]
structure with an additional operation for making Unix-domain connections.

== Synopsis

[source,sml]
------------
signature UNIX_SOCK_UTIL
structure UnixSockUtil : UNIX_SOCK_UTIL
------------

== Interface

[source,sml]
------------
include SOCK_UTIL

val connectUnixStrm : string -> UnixSock.unix stream_sock
------------

== Description

`[.kw]#include# SOCK_UTIL`::
  The `UnixSockUtil` structure includes the operations from the
  xref:str-SockUtil.adoc[`SockUtil`] structure.

`[.kw]#val# connectUnixStrm : string \-> UnixSock.unix stream_sock`::
  `connectUnixStrm path` establishs a client-side connection to the
   Unix-domain stream socket specified by `path`.

== See Also

xref:str-SockUtil.adoc[`SockUtil`],
{sml-basis-url}/unix-sock.html#UnixSock:STR:SPEC[`UnixSock` (*SML Basis*)],
xref:inet-lib.adoc[__The INet Library__]
