I need to implement some sort of server and client ; and thinking about using wxLuaSocket but find no sample code to get started. Quick reading the doxygen output let me think most of the method in wxSocket has been overwriten so it is not (I think) possible using it in wxSocket style. I am thinking about using luasocket (kepler project) as well but their uses of coroutine (copas) make me a bit uncomfortable :-). And me think wxLua already provide wxLuaSocket why not using it (even it is not easy to not link with it anyway)
I am not quite sure if some body can give me an advice which way to go;
wxLuaSocket or luasocket?
and if possible provive some sample code with wxLuaSocket to get started.
My requirement is:
A server listning to one TCP port and serves many client at the same time; for each client spawn a wxClientSocket
to initiate the data transfer. (like the wxSocketServer and wxSocketClient model)
Thank you in advance.
Cheers,
S.KIEU
On Yahoo!7
360°: Your own space to share what you want with who you want!