Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3931670
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T23:22:26+00:00 2026-05-19T23:22:26+00:00

I see that this question has been asked before but the context around the

  • 0

I see that this question has been asked before but the context around the questions are usually vague. I’m looking to build an Android multiplayer real-time game where there is global state that needs to be shared amongst all the clients. Thus, I have a tendency to believe that UDP might not suffice. TCP gives reliability but with the inherent overhead. However, since this is the first time I have tackled such a problem, I’m looking for some feedback from other peoples experiences.

Therefore, (generally) in the context of a multiplayer real-time game on an android smart phone, is the overhead associated with TCP acceptable enough such that the user experience is not affected to such an adverse extent? Also it’s worth mentioning that the TCP connection would have to be a persistent connection. Also, would UDP coupled with some reliable custom developed mechanisms be a better approach? Any input would really help me out & would be greatly appreciated.

many thanks indeed

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T23:22:27+00:00Added an answer on May 19, 2026 at 11:22 pm

    The best answer is probably “try it and see”.

    I’m of the opinion that TCP overhead isn’t really that big of a deal for most applications. Header size is on the order of 10 bytes larger, and ack messages have to be sent back and forth for each message.

    The real killer for a real-time game is going to be latency. UDP is fire-and-forget. That means each message just lags by the transit time between the two nodes. Since TCP requires an ack, a message isn’t really considered “sent” until the other side is heard back from.

    Generally, the issue between them boils down to error detection. If a message gets lost in the interwebs somehow, how would you like it handled? If every message is fairly vital, then if you use UDP you’d just end up having to implement your own TCP-like protocol on top of it. You might as well use TCP and let the network hardware help you. However, if old messages after the time it takes for several retries (each at network latency) are going to be garbage anyway with new updates coming in, then TCP is a waste of bandwith for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this question has been asked a bit before. But looking around I
I'm sure that this question has already been asked, but I don't really see
This question has been asked before but 1) the user never accepted an answer
I know this question has been asked before, but this was one and a
I know that the question has been asked before , but it's been two
Well, I'm sure this question has been asked before but I'm yet to find
First, I know this question has been asked several times before and that in
Ok, first off, I applogize if this question has been asked before, I've spent
I realize this question is very likely to have been asked before, but I've
I realise this question has been asked 100 times, but i've looked through the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.