openSocketF :: Host -> Port -> (Socket -> F a b) -> F a b type Host = String type Port = Int type Socket = Int
openSocketF host port fudget
openSocketFcreates a (client) socket and connects it to another socket (a server).
host :: Host
port :: Port
fudget :: Socket -> F a b
openSocketF "news" 119 transceiverF
Communicating via sockets: transceiverF et al.
Creating passive sockets: openLSocketF.