From: Steve K. <ha...@ya...> - 2006-05-14 04:28:37
|
Here's the interface file for the socket classes of wxWidgets that wxLua wraps. You use them in wxLua as you would in C++, but I have to admit that I've never tried them. See the wxWidgets documentation. http://wxlua.sourceforge.net/wxLua/bindings/wxwidgets/socket.i Hi there, just started to port a sample server from wxWidgets c++ to wxLua but it seems that the support for wxSocket in wxLua is not quite useable yet. please correct if I am wrong. First I did not see any wxSocketEventFlags exported to lua; the socket.i has only one comment line // %enum wxSocketEventFlags %endenum And the method. SetEventHandler of wxSocket is not exported yet so I have no way to set a SOCKET_ID for a socket created in wxLua . Any idea to work around it? S.KIEU --------------------------------- Do you Yahoo!? Yahoo! Personals: It's free to check out our great singles! |