10 handleComs con world = (con``, world``) where
11 (con`, world`) = send "Hello World!\n" con world
12 (con``, world``) = send "More text here!\n" con` world`
14 Start world = case to of
15 TR_Success = handleComs (toStringSChannel con.sChannel) world``
16 _ = abort "CONNECTION ERROR"
18 (Just adr, world`) = lookupIPAddress hostIP world
19 (to, mcon, world``) = connectTCP_MT Nothing (adr,hostPort) world`