J
Jumu
Hello,
I am trying to build an application on the .NET pocketPC platform that
transmits and receives data through TCP sockets. Ideally I want the
application to work on all types of connections like GPRS, Wifi and any
other technologies that support TCP sockets.
This means there is the possibility of connections going down and
coming back again. For example, a Wifi user might go out of range of
the base station and then come back. So my specific questions are:
1. How do I inform my application that the link is no longer available.
2. How do I inform it that the link has come back up.
3. What is the way to handle open TCP sockets while the link is down
and then comes back up.
Also, if the link becomes very slow for some reason (say bad GPRS in an
area) do I have be mindful of how much data my application is writing
to my TCP socket send-buffer. Could it get overwhelmed and drop packets
at the OS level itself, even before the packets get "airborne"?
Any suggestions, ideas, further reading pointers will be appreciated.
Thanks for reading
I am trying to build an application on the .NET pocketPC platform that
transmits and receives data through TCP sockets. Ideally I want the
application to work on all types of connections like GPRS, Wifi and any
other technologies that support TCP sockets.
This means there is the possibility of connections going down and
coming back again. For example, a Wifi user might go out of range of
the base station and then come back. So my specific questions are:
1. How do I inform my application that the link is no longer available.
2. How do I inform it that the link has come back up.
3. What is the way to handle open TCP sockets while the link is down
and then comes back up.
Also, if the link becomes very slow for some reason (say bad GPRS in an
area) do I have be mindful of how much data my application is writing
to my TCP socket send-buffer. Could it get overwhelmed and drop packets
at the OS level itself, even before the packets get "airborne"?
Any suggestions, ideas, further reading pointers will be appreciated.
Thanks for reading