Portability | portable |
---|---|
Stability | none |
Maintainer | uzytkownik2@gmail.com |
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
:: 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.
:: Handle | Existing handle |
-> IO (Connection, Bool) | Returns connection and a bool indicating if posting is allowed |
Usage existing Handle and creating from it connection.