1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
-- | This module provides extensible APIs for socket addresses.
module Network.Socket.Address (
-- * Socket Address
SocketAddress (..),
getPeerName,
getSocketName,
-- * Socket operations
connect,
bind,
accept,
-- * Sending and receiving ByteString
sendTo,
sendAllTo,
recvFrom,
-- * Sending and receiving data from a buffer
sendBufTo,
recvBufFrom,
-- * Advanced IO
sendBufMsg,
recvBufMsg,
) where
import Network.Socket.Buffer
import Network.Socket.ByteString.IO
import Network.Socket.Name
import Network.Socket.Syscall
import Network.Socket.Types
|