diff options
author | Joe Crayne <joe@jerkface.net> | 2019-12-17 13:22:28 -0500 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2020-01-01 23:26:50 -0500 |
commit | 2425c1a5df23d7051461d8f9fd32b5d5aa03e104 (patch) | |
tree | fad9dc999a824ed7fd951241768682fdeffda04a /dht/src/Network | |
parent | 0c9cf41d9cf8c0b908f38a3ccf66452d56c578e8 (diff) |
Schedule TCP chat-link session attempts.
Diffstat (limited to 'dht/src/Network')
-rw-r--r-- | dht/src/Network/Tox/TCP.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dht/src/Network/Tox/TCP.hs b/dht/src/Network/Tox/TCP.hs index dc4c9967..c4727a20 100644 --- a/dht/src/Network/Tox/TCP.hs +++ b/dht/src/Network/Tox/TCP.hs | |||
@@ -292,9 +292,9 @@ tcpPing client dst = do | |||
292 | , method = PingPacket | 292 | , method = PingPacket |
293 | } | 293 | } |
294 | 294 | ||
295 | tcpConnectionRequest :: Client err PacketNumber tid addr (Bool, RelayPacket) | 295 | tcpConnectionRequest_ :: Client err PacketNumber tid addr (Bool, RelayPacket) |
296 | -> PublicKey -> addr -> IO (Maybe ConId) | 296 | -> PublicKey -> addr -> IO (Maybe ConId) |
297 | tcpConnectionRequest client pubkey ni = do | 297 | tcpConnectionRequest_ client pubkey ni = do |
298 | sendQuery client meth pubkey ni | 298 | sendQuery client meth pubkey ni |
299 | where | 299 | where |
300 | meth = MethodSerializer | 300 | meth = MethodSerializer |