lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, May 10, 2012 at 4:55 AM, Valerio Schiavoni
<valerio.schiavoni@gmail.com> wrote:
> Dear all,
> while digging into the source code of LuaSocket, I found this
> interesting piece of code:
...
> Why isn't it enough to send the full block of data to the underlying
> send() primitive, and simply leverage the OS's ability to do the rest?

Looks like it is some kind of kludge for windows. History is online
now, at Diego's github page:

https://github.com/diegonehab/luasocket/commit/7c97e8e40aaa665226fb54449773dc3134e755b2