forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LUA network game, protocol

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
CheChin



Joined: 04 Aug 2005
Posts: 8

PostPosted: Tue Mar 14, 2006 6:21 pm    Post subject: LUA network game, protocol Reply with quote

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?
Back to top
View user's profile Send private message
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Thu Mar 16, 2006 2:46 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group