flip runReaderT handle $ do
t1 <- connectRequest
cid <- connectResponse t1
- liftIO $ print "connected: connect id"
t2 <- announceRequest cid infohash peerId (fromIntegral up) (fromIntegral down) (fromIntegral (left tstate)) (fromIntegral sport)
- liftIO $ print "waiting for announce response"
stats <- announceResponse t2
liftIO $ print stats
+-- _ <- threadDelay $