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 )*  of the error code and a symbol identifying the platform for which the error has meaning.  The codes are (somewhat) platform dependent so you will need other references to decode them.

For more, see:

 * 
https://docs.racket-lang.org/reference/exns.html#%28def._%28%28lib._racket%2Fprivate%2Fbase..rkt%29._exn%29%29
 * 
https://docs.racket-lang.org/reference/exns.html#%28def._%28%28lib._racket%2Fprivate%2Fbase..rkt%29._exn~3afail~3anetwork~3aerrno%29%29


Hope this helps,
George

--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/31a25463-eb1e-2f05-920a-7cfa49e33f99%40comcast.net.

Reply via email to