Jump to content

  • Log In with Google      Sign In   
  • Create Account


Can mobile phone create game as server


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 muratsal   Members   -  Reputation: 141

Like
0Likes
Like

Posted 15 November 2012 - 10:07 AM

Can mobile phone create game as server on LAN and pc can connect ?
my map aplications http://haritaaraci.com

Sponsor:

#2 C0lumbo   Crossbones+   -  Reputation: 2115

Like
0Likes
Like

Posted 15 November 2012 - 10:23 AM

If there's a general purpose socket library available for your mobile phone platform, then probably, yes.

I seem to remember doing this when testing an IOS game, but that was many OS updates ago, (before game centre). Perhaps someone else has tried it more recently.

I'm not sure if it's a good idea, except for testing/debugging purposes.

#3 muratsal   Members   -  Reputation: 141

Like
0Likes
Like

Posted 15 November 2012 - 10:26 AM

also can mobile phones connect each other with wireless ?
my map aplications http://haritaaraci.com

#4 MrDaaark   Members   -  Reputation: 3539

Like
0Likes
Like

Posted 15 November 2012 - 10:29 AM

also can mobile phones connect each other with wireless ?

Yes. Many games have co-op play, and you can even run a Minecraft mobile server.

#5 6677   Members   -  Reputation: 1058

Like
0Likes
Like

Posted 15 November 2012 - 11:03 AM

Bluetooth and wifi are both fine for mobiles connecting to each other although are both handset dependent Some mobile phones cannot act as a wifi host for instance so cannot have other devices connecting or may have other similar restrictions. Bluetooth suffers from the same. Many mobile devices can only maintain a single bluetooth pairing or wifi connection at a time which will further limit you. On devices not effected then yes you can host multiplayer but generally a PC has more resources for this task.

#6 sox   Crossbones+   -  Reputation: 484

Like
0Likes
Like

Posted 15 November 2012 - 01:03 PM

It should work fine, until you switch to another app. On iPhone at least, background processes are restricted to preserve battery life and responsiveness.

If you really want to try and make it work, you might to pretend to be a VOIP or music app. Here's a good place to start your research on that. Otherwise, you could just require your users to leave the app in the foreground at all times.

Good luck!

#7 frob   Moderators   -  Reputation: 18823

Like
0Likes
Like

Posted 15 November 2012 - 03:52 PM

In Android you can keep running network services in the background, assuming you set your app up properly.


That being said, you will still face potential issues with NAT and other connectivity. Mobile providers sometimes don't like you running publicly-visible servers and may block incoming connections across their network.
Check out my personal indie blog at bryanwagstaff.com.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS