pocket pc as server

  • Thread starter Thread starter Mark Irvine
  • Start date Start date
M

Mark Irvine

Hi,

I have been developing a small scheduling app and no would like to add an
additional alert facility. The idea is that if there is a change to the
schedule, an alert of some sort is transmitted to the device. My idea is to
have a socket listening (non-blocking) on a specific port. During logon the
public IP address of the device is recorded and then used to send alerts.
Is this a good approach? Are there any other approaches? I have also found
it difficult to find any examples on the web on this topic.

Many thanx for any help you can offer,

Mark
 
Hi,

If the device is connected all the time I don't see why not, you could also
use a blocking port on a thread ( I'm not sure now if the CF support not
blocking ).

Another possible solution is that the client poll the server , this has the
convenience that the server don't have to record the client IP , which may
change and it consume fewer resources. the drawback is that you may get a
delay between the event and the time the client receive it.

Cheers,
 
Back
Top