H holdemadvantage Active Member Licensed User Longtime User Jan 8, 2014 #1 Hi all, I need some suggestions on architecture+networking. Just finished my turn -based card game and i would like to add multiplayer mode, is there a solution with some libs + b4A? Thanks in advance
Hi all, I need some suggestions on architecture+networking. Just finished my turn -based card game and i would like to add multiplayer mode, is there a solution with some libs + b4A? Thanks in advance
LucaMs Expert Licensed User Longtime User Jan 8, 2014 #2 You can use Network library and, usually, you should send/receive few bytes of data, representing commands you invented along with some values (code of the card you played, for example) Upvote 0
You can use Network library and, usually, you should send/receive few bytes of data, representing commands you invented along with some values (code of the card you played, for example)
Erel B4X founder Staff member Licensed User Longtime User Jan 8, 2014 #3 I recommend you to check HttpServer. It will be easier to use it instead of managing yourself multiple connections. Upvote 0
I recommend you to check HttpServer. It will be easier to use it instead of managing yourself multiple connections.
H holdemadvantage Active Member Licensed User Longtime User Jan 8, 2014 #4 Thank you bot, i will check... @Erel, as i see HttpServer will be useful if you connect to a device in the same wifi network, but i am not able to figure out how to do over the internet. Maybe an online database and a cycle to check if the status has been modified, but i don't think this would be the best solution Upvote 0
Thank you bot, i will check... @Erel, as i see HttpServer will be useful if you connect to a device in the same wifi network, but i am not able to figure out how to do over the internet. Maybe an online database and a cycle to check if the status has been modified, but i don't think this would be the best solution
Erel B4X founder Staff member Licensed User Longtime User Jan 8, 2014 #5 Over the internet is a different story. You will need a server for that and make all devices connect to this server. Upvote 0
Over the internet is a different story. You will need a server for that and make all devices connect to this server.
H holdemadvantage Active Member Licensed User Longtime User Jan 8, 2014 #6 Is there an online service (i.e. like parse.com for notification for example) i can use for my target? Upvote 0
Is there an online service (i.e. like parse.com for notification for example) i can use for my target?
Erel B4X founder Staff member Licensed User Longtime User Jan 8, 2014 #7 I guess that you can use parse for this. Upvote 0