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
|
||||
putStrLn $ "connecting to Socket " <> socketLocation
|
||||
handle <- connectSocket socketLocation
|
||||
-- mock communication code
|
||||
hPutStrLn handle "meow!"
|
||||
hFlush handle
|
||||
threadDelay $ 5 * 10 ^ 6
|
||||
hPutStrLn handle "Goodbye!"
|
||||
hFlush handle
|
||||
-- end mock
|
||||
where
|
||||
opts = info (options <**> helper)
|
||||
( fullDesc
|
||||
|
|
Loading…
Reference in a new issue