Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Using LuaSocket in Gideros — Gideros Forum

Using LuaSocket in Gideros

ar2rsawseenar2rsawseen Maintainer
edited June 2012 in Step by step tutorials
Hello all,

so here is my tutorial explaining how to use different protocols in LuaSocket. Examples on how to create clients and servers and even discovering devices.

http://appcodingeasy.com/Gideros-Mobile/Using-LuaSocket-in-Gideros

Hope everything is explained, if there are any questions or mistakes feel free to ask or correct :)

And if you liked it, help me dzone it:
http://www.dzone.com/links/appcodingeasycom_using_luasocket_in_gideros.html

;)
+1 -1 (+3 / -0 )Share on Facebook

Comments

  • That's a really useful guide - thanks! :)
    WhiteTree Games - Home, home on the web, where the bits and bytes they do play!
    #MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
  • seems my 'LuaSockets' is not 'installed'. I keep getting the following after copying the *.lua files from the plug-in / src directory into my project/includes directory:

    includes/db.lua:14: module './includes/socket.lua' not found:
    no field package.preload['./includes/socket.lua']
    no file './//includes/socket/lua.lua'
    no file '/usr/local/share/lua/5.1///includes/socket/lua.lua'
    no file '/usr/local/share/lua/5.1///includes/socket/lua/init.lua'
    no file '/usr/local/lib/lua/5.1///includes/socket/lua.lua'
    no file '/usr/local/lib/lua/5.1///includes/socket/lua/init.lua'
    no file './//includes/socket/lua.so'
    no file '/usr/local/lib/lua/5.1///includes/socket/lua.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
    no file './.so'
    no file '/usr/local/lib/lua/5.1/.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
    stack traceback:
  • ar2rsawseenar2rsawseen Maintainer
    @BBurgess66 try not copying but adding the very file that is at plugins location (it probably has other dependencies there)
Sign In or Register to comment.