On Thu, Feb 6, 2014 at 5:04 AM, harry <voldermort@hotmail.com> wrote:
Tim Perry <tim.v2.0 <at> gmail.com> writes:
> Can you use the SockAddrUnix constructor of SockAddr? 
>
See http://hackage.haskell.org/package/network-2.2.1.3/docs/Network-Socket.html#t%3ASockAddr

What's the input format? All it says is String.

You don't want SockAddrUnix. It's for AF_UNIX / AF_LOCAL sockets, which live in the filesystem, and the parameter is the pathname of the socket.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net