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 8034913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:09:34+00:00 2026-06-05T02:09:34+00:00

I need to send some data to my client, and I want to know

  • 0

I need to send some data to my client, and I want to know if using push notifications is better than using sockets.

I heard some say that sockets are not good because they can stop working if the mobile phone is changing it’s IP(anyway how often does this happen).

How reliable are sockets> when would you rather go for push notifications?

  • 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-06-05T02:09:35+00:00Added an answer on June 5, 2026 at 2:09 am

    Push notifications are for:

    -When you want to send information to the device that the user didn’t request first (generally a ping that there’s new data on the server that the user will want to download)

    -When there’s no guarantee that the application is running.

    Sockets are for:

    -When the application is running – Aka, user clicks on something they want to download, data is sent via socket.

    Also, on Android, push notifications max out at 4K of data, because (as previously mentioned) they’re only really meant to notify, not to transmit large amounts of data. For that you’ll need to use sockets anyway. Furthermore, you’ll need to deal with the fact that sockets do stop sending data for a variety of reasons – The user hops wifi networks, goes through a tunnel, drives through an area with spotty reception, etc, etc.

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

Sidebar

Related Questions

I am using Csharp tcp sockets to send data between a client and server.
I need to send some data with radio button. This buttons are <td> <span
In my project client send some text, some images to the server. Server need
I need to apply some pixel shaders to a bitmap (using OpenGL) and send
I have some data stored on client side which I need to fetch thru
I have a requirement where I need to send some data from my server
I got success in sending/receiving data using TCP Sockets over LAN but I want
I want to send some data to a server through POST method in android.
I need to send some bytes over UDP Protocol the start squence is 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
I need to send some information on a VxWorks message queue. The information to

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.