hs-irc/IRC/Connection.hs
Tiago Carvalho 19620148ba stuff
2020-07-22 16:02:18 +01:00

19 lines
384 B
Haskell

module IRC.Connection where
import Data.Word (Word16)
import qualified Network.Socket as S
data Connection = Connection { connSocket :: S.Socket,
connNick :: String,
}
-- The host to connect to.
type Host = String
-- The port to connect to.
type Port = Word16
connect :: Host -> Port
connect = error "unimplemented"