File: Address.hs

package info (click to toggle)
haskell-network 3.2.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 760 kB
  • sloc: sh: 3,379; haskell: 2,211; ansic: 536; makefile: 3
file content (31 lines) | stat: -rw-r--r-- 623 bytes parent folder | download
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