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

  • Home
  • SEARCH
  • 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 7048835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:56:21+00:00 2026-05-28T02:56:21+00:00

Im currently developing a chat client for the iphone. Server-side there is a node.js

  • 0

Im currently developing a chat client for the iphone.
Server-side there is a node.js with Socket.IO and on the iPhone an Socket.IO client
( https://github.com/DanLite/socket.IO-objc )

My Question is:
Will the iPhone battery affected with an open TCP connection and not sending or receiving data for like 3-4 Minutes?

What is better for battery life? A constant tcp connection or multiply HTTP requests.

Thanks

Edit:
I have a chat + other functions like (changing name, checking friends status, edit settings)

Edit 2:
Looks like WhatsApp doing it with a tcp connection

  • 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-28T02:56:22+00:00Added an answer on May 28, 2026 at 2:56 am

    When TCP connection is opened both parties posses information about it (remote ip:port, local ip:port). That information is a mere data structure in the memory.
    As long as there is no RST packet received or timeout occurred connection is considered to be opened.

    When you send data over connection you start consuming CPU and force underlying wireless mobile network module to send signal hence consume battery.

    That is why it is better to keep TCP connection for as long time as possible and prefer batching over chatty communication (combine several application messages).

    On the other hand you should be prepared to the situation when network coverage is poor and you will have to constantly reopen TCP connection thus consume battery.

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

Sidebar

Related Questions

We are currently developing a server whereby a client requests interest in changes to
I am currently developing android XMPP client to communicate with the Tigase server setup
I am currently developing a chat system using Node.js. My question is, how do
I am currently developing a site for a client (http://184.168.136.225/). Having some issues with
Currently developing my first Native iPhone application, the application is going to be integrating
Im currently developing this site http://digitalgenesis.com.au/projects/sister/music.html What happens when i re-size screen is that
Currently developing this site and I can't pin point as to why there is
Im currently developing this site so none of the content on there is actually
Im currently developing this site so none of the content on there is actually
I am currently developing an app for iPhone. I have finished most of it,

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.