Skip to content

Commit ca0a569

Browse files
committed
fixing #596
1 parent e6278fa commit ca0a569

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Network/Socket.hs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,13 @@ module Network.Socket (
174174
whenSupported,
175175
getSocketOption,
176176
setSocketOption,
177+
177178
-- ** General socket options
178179
StructLinger (..),
179180
SocketTimeout (..),
180181
getSockOpt,
181182
setSockOpt,
183+
182184
-- ** Integrated socket options
183185
SockOptValue (..),
184186
setSockOptValue,
@@ -391,17 +393,16 @@ module Network.Socket (
391393
waitAndCancelReadSocketSTM,
392394
waitWriteSocketSTM,
393395
waitAndCancelWriteSocketSTM,
396+
397+
-- * Deprecated
398+
withSocketsDo,
394399
) where
395400

396401
import Network.Socket.Buffer hiding (
397402
recvBufFrom,
398403
recvBufMsg,
399404
sendBufMsg,
400405
sendBufTo,
401-
402-
-- * Initialisation on Windows
403-
withSocketsDo,
404-
405406
)
406407
import Network.Socket.Cbits
407408
import Network.Socket.Fcntl

0 commit comments

Comments
 (0)