some comments
This commit is contained in:
parent
4d0a6cbb00
commit
71451df387
1 changed files with 2 additions and 0 deletions
|
@ -17,11 +17,13 @@ main = do
|
||||||
(Options socketLocation) <- execParser opts
|
(Options socketLocation) <- execParser opts
|
||||||
putStrLn $ "connecting to Socket " <> socketLocation
|
putStrLn $ "connecting to Socket " <> socketLocation
|
||||||
handle <- connectSocket socketLocation
|
handle <- connectSocket socketLocation
|
||||||
|
-- mock communication code
|
||||||
hPutStrLn handle "meow!"
|
hPutStrLn handle "meow!"
|
||||||
hFlush handle
|
hFlush handle
|
||||||
threadDelay $ 5 * 10 ^ 6
|
threadDelay $ 5 * 10 ^ 6
|
||||||
hPutStrLn handle "Goodbye!"
|
hPutStrLn handle "Goodbye!"
|
||||||
hFlush handle
|
hFlush handle
|
||||||
|
-- end mock
|
||||||
where
|
where
|
||||||
opts = info (options <**> helper)
|
opts = info (options <**> helper)
|
||||||
( fullDesc
|
( fullDesc
|
||||||
|
|
Loading…
Reference in a new issue