lua-users home
lua-l archive

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


All this makes more sense and I think I am back on track. Thanks for
all of the help!

Ryan


On Wed, Oct 22, 2008 at 1:54 PM, Evan DeMond <evan.demond@gmail.com> wrote:
> On Wed, Oct 22, 2008 at 2:37 PM, KHMan <keinhong@gmail.com> wrote:
>>
>> Evan DeMond wrote:
>>>
>>> I think LuaSocket just uses the same library that you would if you were
>>> writing your own socket calls. [snip]
>>
>> First sentence is not quite correct. LuaSocket has got a multi-platform
>> compatibility layer done in usocket.c and wsocket.c, so it may seem
>> convenient as it embodies a lot of developer effort. [snip]
>> --
>> Cheers,
>> Kein-Hong Man (esq.)
>> Kuala Lumpur, Malaysia
>
> Yep, that's true - I just meant that drilling down below the compatibility
> layer, it's still the same old Unix and Windows socket APIs, so I didn't see
> how using base socket calls yourself, in addition to LuaSocket, would bring
> in any different libraries.
>
> Kein-Hong does bring up another good point, too: keeping all your socket
> code in Lua is usually the easiest way to go. You've got Lua in there
> anyways, just Lua do the work! =)
>
> Evan
>