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



vitick@xxxxxxxxx wrote:
I am still not sure why my code did not work.

You would need to show the whole of the code, including where you wait for file events and where you open and close the files. At what line were you getting "file busy errors"?

--
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