Maybe I am not thinking this out correctly but here is my thought
process. I plan on having some modules that use LuaSocket so I figured
that if I could I wanted to just use LuaSockets for everything. This
is to cut down on the bloat of including 2 socket libraries (the C
library and LuaSockets) so I was hoping that for my straight C code I
could take advantage or somehow call the LuaSockets C functions and
for my Lua modules use the same library but make the appropriate Lua
calls. I just dont want to include more libraries than I need to.
Thanks!
Ryan
I think LuaSocket just uses the same library that you would if you were writing your own socket calls. I'm not 100% sure, but I don't think this should increase your memory footprint. Even if it did, it shouldn't increase it significantly at all, so don't worry about optimizing away that amount of "bloat" if it inconveniences you.
Evan