From 7a20395e8fe10625a239337aba24c3480e9b5e45 Mon Sep 17 00:00:00 2001 From: Joe Crayne Date: Sat, 1 Dec 2018 18:01:28 -0500 Subject: Integrated TCP relay server. --- src/Network/Tox/DHT/Handlers.hs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/Network/Tox/DHT') diff --git a/src/Network/Tox/DHT/Handlers.hs b/src/Network/Tox/DHT/Handlers.hs index d7f05dbc..2062b51d 100644 --- a/src/Network/Tox/DHT/Handlers.hs +++ b/src/Network/Tox/DHT/Handlers.hs @@ -340,9 +340,6 @@ unpong :: Message -> Maybe (Asymm (Nonce8,Pong)) unpong (DHTPong asymm) = Just asymm unpong _ = Nothing -showHex :: BA.ByteArrayAccess ba => ba -> String -showHex bs = C8.unpack $ Base16.encode $ BA.convert bs - ping :: Client -> NodeInfo -> IO Bool ping client addr = do dput XPing $ show addr ++ " <-- ping" -- cgit v1.2.3