| Portability | portable |
|---|---|
| Stability | none |
| Maintainer | uzytkownik2@gmail.com |
Network.NNTP.RFC977
Description
RFC977 is the most popular version of protocol.
- data Connection
- joinToSocket :: Socket -> IO (Connection, Bool)
- joinToHandle :: Handle -> IO (Connection, Bool)
- connectToHost :: String -> Maybe Word16 -> IO (Connection, Bool)
Types
Functions
Arguments
| :: Socket | The existing socket |
| -> IO (Connection, Bool) | Returns connection and a bool indicating if posting is allowed |
Usage existing Socket and creating from it connection.
Arguments
| :: Handle | Existing handle |
| -> IO (Connection, Bool) | Returns connection and a bool indicating if posting is allowed |
Usage existing Handle and creating from it connection.