public inbox for nncp-devel@lists.stargrave.org
Atom feed
* NNCP with SP via high-latency links and TCP timeouts
@ 2025-01-18 11:15 Marek Küthe
  2025-01-18 20:38 ` Sergey Matveev
  0 siblings, 1 reply; 5+ messages in thread
From: Marek Küthe @ 2025-01-18 11:15 UTC (permalink / raw)
  To: nncp-devel

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

Hello,

I recently came across NNCP and on the homepage it says that it also
works over high latency links, but TCP is used. When I tried to
establish a TCP connection with netcat via a high-latency link (20%
packet loss, 30 seconds latency), I got a lot of timeouts and
retransmissions, so that the TCP connection was not established at all.

I have two questions about this:
- Does NNCP SP also work over UDP?

- I looked at the source code and saw that various timeouts are set.
  However, I found on [1] that only the timeouts for the connection and
  not the TCP handshake (which is started in call.go line 91) are set.
  Is this intentional? Have I overlooked something?

I would appreciate an answer!

Regards
Marek Küthe

[1] https://stackoverflow.com/questions/63870817/does-setting-the-timeout-on-the-net-dialer-and-deadline-on-the-connection-result

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-01-19  2:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-18 11:15 NNCP with SP via high-latency links and TCP timeouts Marek Küthe
2025-01-18 20:38 ` Sergey Matveev
2025-01-18 20:49   ` Marek Küthe
2025-01-18 20:58     ` Sergey Matveev
2025-01-19  1:45     ` John Goerzen