: handle-client ( client remote local -- )
'[
- , , log-connection
+ _ _ log-connection
threaded-server get
[ timeout>> timeouts ] [ handle-client* ] bi
] with-stream ;
: accept-connection ( threaded-server -- )
[ accept ] [ addr>> ] bi
- [ '[ , , , handle-client ] ]
+ [ '[ _ _ _ handle-client ] ]
[ drop threaded-server get name>> swap thread-name ] 2bi
spawn drop ;