@@ -216,7 +216,7 @@ connectionsOnLocalHost = connectionsOnAddr (127,0,0,1)
216216
217217-- | Connect to the specified IP address and port number.
218218--
219−-- /Internal/
219+-- @since 0.7.0
220220connect :: (Word8, Word8, Word8, Word8) -> PortNumber -> IO Socket
221221connect addr port = do
222222 sock <- socket AF_INET Stream defaultProtocol
@@ -229,7 +229,7 @@ connect addr port = do
229229-- closing the socket raises an exception, then this exception will be raised
230230-- by 'withServerAddrM'.
231231--
232−-- @since 0.7.0
232+-- /Internal/
233233{-# INLINABLE withServerAddrM #-}
234234withServerAddrM :: (MonadMask m, MonadIO m)
235235 => (Word8, Word8, Word8, Word8) -> PortNumber -> (Socket -> m ()) -> m ()
@@ -246,7 +246,7 @@ withServerAddrM addr port =
246246-- termination or in case of an exception. If closing the socket raises an
247247-- exception, then this exception will be raised by 'withServerAddr'.
248248--
249−-- @since 0.7.0
249+-- /Internal/
250250{-# INLINABLE withServerAddr #-}
251251withServerAddr :: (MonadCatch m, MonadIO m)
252252 => Unfold m Socket a
@@ -266,7 +266,7 @@ withServerAddr =
266266-- handle raises an exception, then this exception will be raised by
267267-- 'withConnection' rather than any exception raised by 'act'.
268268--
269−-- @since 0.7.0
269+-- /Internal/
270270{-# INLINABLE withConnection #-}
271271withConnection :: (IsStream t, MonadCatch m, MonadIO m)
272272 => (Word8, Word8, Word8, Word8) -> PortNumber -> (Socket -> t m a) -> t m a