[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: LuaSocket nonblocking receive() semantics
- From: Flemming Madsen <lua@...>
- Date: Thu, 15 Mar 2012 20:19:14 +0100
Speaking of LuaSocket .. I have a small request ..
Could we have receive() behavior ala Posix read().
Ie. after select() reports a steam readable, the next receive() can be specified non-blocking, no matter the number of requested bytes, and the number of actually received bytes is returned.
(A new function, negative count dor receive(), whatever)