LUA network game, protocol

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
CheChin
Posts: 8
Joined: Thu Aug 04, 2005 10:51 am

LUA network game, protocol

Post by CheChin »

With VB and C i have just used types/structs to build the package and send off the whole thing as a string. Then when i recieve it, i just pop it back into the same type/struct and i'm done.

Do anyone have some suggestion on how i should do this in lua?
You can't just fill a table, and send it off as "text" can you?
I need the package building/handling to be fairly fast too.

Anyone?
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

i guess we discussed this yesterday in irc?
implode/explode function on my webpage should solve this.
greets
lumo
PS: table --> string and vice versa
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Post Reply