
2 Feb
2014
2 Feb
'14
9:30 p.m.
Can you use the SockAddrUnix constructor of SockAddr?
See
http://hackage.haskell.org/package/network-2.2.1.3/docs/Network-Socket.html#...
Tim Perry
(916) 505-3634
On Sun, Feb 2, 2014 at 1:01 PM, harry
I need to convert a numeric IP (such as 1.2.3.4) to a HostAddress for consumption by SockAddrInet. The only function I can find to do this is inet_addr, which is impure (can do DNS lookups). Is there a pure conversion?
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners