Establishing a Connection from Server to Pocket PC through GPRS

Hi,

Most pocket pc applications that I see requires the pocket pc to establish a connection through GPRS to a server (in my case Tomcat) in order to get some Data. However I am curious on how things work the other way around. Meaning, what if I want to get the Server to establish a connection to the pocket pc? Are there any classess available in the .NET framework in order to handle this? I am thinking that maybe there is an existing listener that i can use?

As an addition, is there a way for a pocket pc 2003 emulator to "simulate" connecting to a GPRS network? Other forums say that as long as ur desktop pc is connected to the internet or to a network, it is already enough for the pocket pc emulator to simulate a GPRS connection. Is this true?

thanks and regards,
espi

[788 byte] By [espi] at [2007-12-23]
# 1
Connection over GPRS is a TCP/IP connection which means that you can use either TcpListener or Socket classes. But keep in mind that running a server on the device could be a problem since some wirelless providers block incoming ports.

-Alex

AlexY at 2007-8-30 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...
# 2
I see thanks for the reply. I just want to clarify something on your response. Is it necessary to run a server on the device in order for the web server to initiate the connection to the PDA or should the TcpListener or Socket classes be enough? Is there any type of server running in the PDA that u would recommend?
I was also thinking of what type of packets to send to the PDA. Initally I thought of the webserver initaiting an HttpRequest to the PDA though i think in this situation it is not possible. Is there a recommended type of request that I should send on the PDA?

ps. if there are any articles about this, it would be helpful if u can post a link

thanks a lot for the help! Smile

regards,
espi

espi at 2007-8-30 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...
# 3

Hi There!

I was reading this thread and hoping someone might be able to help me!!

I want to learn how to send data from a mysql database, perhap from a webpage interface, on a server to a pocket pc, via gprs.

Specifically I would like to push data to devices over gprs. There could be many mobile devices, which I will wish to communicate with and would like to be able to send data to them selectively. I also want to be able to send data back from the remote device to the office also. I want to create a small little app on the device which will have a form and be able to store info sent to it from the office.

If you can point me in the right direction I would really appreciate it.

regards

David

Djgann at 2007-8-30 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...
# 4

Any other request for help on how to do this have resulted in replies from people who seem to know that you shoudn't (although it's not impossible) do it.

A main reason for this is that devices don't have static IP addresses, and it's generally considered better practice for the device to PULL rather than the server PUSH.

Makes sense to me, It's hard enough to make one app run on a device, never mind some server software too

Anarchy at 2007-8-30 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...
# 5

Hello,

I'm new here, and I'm also want to write a sever that PUSH request to the device. but if you suggest that it is better that the device will PULL data instead, what is the optimal minimal iterval time to do so? and how it will influence the device performance? how it will influence the server performance while many devices trying to connect the server at the same time?

thanks

AnatOren at 2007-8-30 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...