@@ -27,9 +27,8 @@ module Streamly.Internal.Network.Inet.TCP
2727 , acceptOnPortLocal
2828
2929 -- ** Streams
30− , connections
3130 , connectionsOnAddr
32− , connectionsOnAllAddrs
31+ , connectionsOnPort
3332 , connectionsOnLocalHost
3433
3534 -- * TCP clients
@@ -185,12 +184,12 @@ connectionsOnAddr addr port =
185184-- IPv4 addresses/interfaces of the machine and listens for TCP connections on
186185-- the specified port.
187186--
188−-- > connectionsOnAllAddrs = connectionsOnAddr (0,0,0,0)
187+-- > connectionsOnPort = connectionsOnAddr (0,0,0,0)
189188--
190189-- /Internal/
191−{-# INLINE connectionsOnAllAddrs #-}
192−connectionsOnAllAddrs :: MonadAsync m => PortNumber -> SerialT m Socket
193−connectionsOnAllAddrs = connectionsOnAddr (0,0,0,0)
190+{-# INLINE connectionsOnPort #-}
191+connectionsOnPort :: MonadAsync m => PortNumber -> SerialT m Socket
192+connectionsOnPort = connectionsOnAddr (0,0,0,0)
194193
195194-- | Like 'connections' but binds on the localhost IPv4 address @127.0.0.1@.
196195-- The server can only be accessed from the local host, it cannot be accessed