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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:20:23+00:00 2026-05-25T17:20:23+00:00

Users in field with PDA’s will generate messages and send to the server; users

  • 0

Users in field with PDA’s will generate messages and send to the server; users at the server end will generate messages which need to be sent to the PDA.

Messages are between the app and server code; not 100% user entered data. Ie, we’ll capture some data in a form, add GPS location, time date and such and send that to the server.

Server may send us messages like updates to database records used in the PDA app, messages for the user etc.

For messages from the PDA to server, that’s easy. PDA initiates call to server and passes data. Presently using web services at the server end and “add new web reference” and associated code on the PDA.

I’m coming unstuck trying to get messages from the the server to the PDA in a timely fashion. In some instances receiving the message quickly is important.

If the server had a message for a particular PDA, it would be great for the PDA to receive that within a few seconds of it being available. So polling once a minute is out; polling once a second will generate a lot of traffic and, maybe draim the PDA battery some ?

This post is the same question as mine and suggests http long polling:
Windows Mobile 6.0/6.5 – Push Notification

I’ve looked into WCF callbacks and they appear to be exactly what I want however, unavailable for compact framework.

This next post isn’t for CF but raises issues of service availability:

To poll or not to poll (in a web services context)

In my context i’ll have 500-700 devices wanting to communicate with a small number of web services (between 2-5).

That’s a lot of long poll requests to keep open.

Is sockets the way to go ? Again that’s a lot of connections.

I’ve also read about methods using exchange or gmail; i’m really hesitant to go down those paths.

Most of the posts i’ve found here and in google are a few years old; something may have come up since then ?

What’s the best way to handle 500-700 PDA CF devices wanting near-instant communication from a server, whilst maintaing battery life ? Tall request i’m sure.

  • 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-25T17:20:24+00:00Added an answer on May 25, 2026 at 5:20 pm

    Socket communication seems like the easiest approach. You say you’re using webservices for client-server comms, and that is essentially done behind the scenes by the server (webservice) opening a socket and listening for packets arriving, then responding to those packets.

    You want to take the same approach in reverse, so each client opens a socket on its machine and waits for traffic to arrive. The client will basically need to poll its own socket (which doesnt incur any network traffic). Client will also need to communicate its ip address and socket to the server so that when the server needs to communicate back to the client it has a means of reaching it. The server will then use socket based comms (as opposed to webservices) to send messages out as required. Server can just open a socket, send message, then close socket again. No need to have lots of permanently open sockets.

    There are potential catches though if the client is roaming around and hopping between networks. If this is the case then its likely that the ip address will be changing (and client will need to open a new socket and pass the new ip address/socket info to the server). It also increases the chances that the server will fail to communicate with the client.

    Sounds like an interesting project. Good luck!

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

Sidebar

Related Questions

For example, I always generate an auto-increment field for the users table, but I
i have a simple text input field users put in a number. I need
I defined a profile field for users called Size which can take the values
I have a textarea form field where users will put URL's separated by a
UPDATE users SET field = my_sp() in SQL Server 2005. Apparently I can't do
in my application which contains a list of users with an field relating to
I have a text field where users enter a URL string, which cannot contain
How can I format a users text field input as they type and insert
I want to add 100 entry to users table numbers field, random characters length
I want to allow users to either have there username field empty at any

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.