import Telnet main env = do env.inet.tcp.listen port (telnet env) done