Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Fix documentation of listenOn #72

merged 1 commit into from

2 participants


It says that the socket returned is a connected one, but it is just a listening one.
accept is used to get a connected one from that.

@tibbe tibbe merged commit d3a8ac3 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  Network.hs
2  Network.hs
@@ -176,7 +176,7 @@ connect' host serv = do
-- 'Network.Socket.listen' instead.
listenOn :: PortID -- ^ Port Identifier
- -> IO Socket -- ^ Connected Socket
+ -> IO Socket -- ^ Listening Socket
#if defined(IPV6_SOCKET_SUPPORT)
-- IPv6 and IPv4.
Something went wrong with that request. Please try again.