Re: [racket-users] Re: Detecting broken inbound TCP connections

2022-07-05 Thread Jeff Henrikson
Thanks Tony, I can confirm that eof-evt promptly delivers the expected information about the dropped TCP connection. Can an application promptly find out about dropped connections from any available HTTP library for racket? Jeff Tony Garnock-Jones unread, Jul 2, 2022, 9:23:51 AM (2 days

Re: [racket-users] Re: Detecting broken inbound TCP connections

2022-07-01 Thread George Neuner
Hi Jeff, Note that most network problems result in an exception ... which your code is not catching and which you might have missed seeing in the output.  You need to catch *exn:fail:network* and examine the *errno* field to figure out what happened. * errno* is a cons: *( integer . symbol )