Re: serving a file to a client --- background fcopy read fileevent event puts socket channel blocking nonblocking



vitick@xxxxxxxxx wrote:
if {[eof $in] || $error != "" } {set check 0; close $in}

Also, "set check 0" here doesn't do what you think it's doing.

--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where's that?"
"It's the Age of Channelwood."
"We should go there on vacation some time."
.



Relevant Pages