[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] tcp-connect looses socket-fd upon timeout
From: |
Jörg F . Wittenberger |
Subject: |
[Chicken-hackers] tcp-connect looses socket-fd upon timeout |
Date: |
16 May 2012 17:13:39 +0200 |
this should help:
===================================================================
--- tcp.scm
+++ tcp.scm
@@ -612,10 +612,11 @@
##sys#current-thread
(+ (current-milliseconds) tmc) ) )
(##sys#thread-block-for-i/o! ##sys#current-thread s
#:all)
(yield)
(when (##sys#slot ##sys#current-thread 13)
+ (##net#close s)
(##sys#signal-hook
#:network-timeout-error
'tcp-connect
"connect operation timed out" tmc s) )
(loop2) ) ) ))
...........
- [Chicken-hackers] tcp-connect looses socket-fd upon timeout,
Jörg F . Wittenberger <=