netConfig for Lua - wireless networking library for Lua code

Posted Dec 17, 2007 at 7:46PM by QJ Staff Listed in: Homebrew Development Tags: Lua, shaolan
Ó


netConfig for Lua - wireless networking library for Lua code - Image 1


So you're a Lua coder and have got a great idea for a LUA application or game, but it could never come to fruition because of one thing: you need to use the Sony PlayStation Portable's wireless network connection. Well programmer shaolan, the homebrew developer behind LuaSQL, swept that hurdle aside with a networking library for Lua code: netConfig for Lua.

Much like LuaSQL, the netConfig library appends its networking configuration to existing Lua code, so it can optionally be integrated for networking support. It can also be invoked via in-line code so you can use the library's inherent connection abilities to access available WAPs and surf the Web for instance.

The code is available directly from shaolan, but you should save the code in its entirety into a file properly named "netConfig.lua". The developer's preference for invoking the library can be used, which goes:

Dofile ( "netConfig.lua")
netConfig() NetConfig ()


The code shown above will work when netConfig.lua is in the immediate directory the Lua code's workspace is currently located. With that covered, happy coding!

 
 
 

Comments

by hakk3r - 2007-12-17 21:20:54
Awesome!

Can't wait to try it out, now we just need this to be in English or have some sort of instruction manual.... I'll figure it out later :D
by Wicked_Insider - 2007-12-18 03:26:55
hmmmm...

So with this library code you can create an app that will utilize VoIP?
by The Underminer - 2007-12-18 08:25:10
fault?

This code is faulty. To invoke the library you have to call netConfig() instead of netConfig() netConfig(). Copy/paste error for sure.

Add New Comment




You must be logged in to post comments




Add QJ.NET
Add to My Yahoo!
Google Reader Subscribe with Bloglines
Add  to your Kinja digest Subscribe in NewsGator Online
Subscribe with Pluck RSS reader Add 'www.qj.net' to Newsburst from CNET News.com
Subscribe with SearchFox RSS del.icio.us www.qj.net
Add to Technorati Favorite! Add to My AOL
furl! it Stumble for Treehugger!