Re: Socket disconnections after a few minutes problem

From: Paul G. Tobey [eMVP] (ptobey)
Date: 08/04/04


Date: Wed, 4 Aug 2004 08:25:50 -0700

Post a simple example that actually does duplicate the problem and I'll try
it on another device...

Paul T.

"Benny Blanco via .NET 247" <anonymous@dotnet247.com> wrote in message
news:ON62RrheEHA.3348@TK2MSFTNGP09.phx.gbl...
hello,

I've been working on a project which was ment to be from the beginning, a
Desktop AND a Pocket Pc application. I'm using sockets to connect a client
and a server both residing on the same machine (either a desktop, or a
pocket pc).
the code is almost identicle, excet for some minor changes due to CF
limitations.

my server sends an "I'm Alive" message every X seconds to the client once
connected. After Y seconds while not getting any messages, the client will
know the server had disconnected.

My problem is, that this code works prefectly fine on the Desktop for as
long as i need it to, BUT on the Pocket Pc, the client stops getting these
messages after a few minutes since connected (3 to 10 minutes usually), then
thinks the server had disconnected.

I have absolutly no idea why it happens. Is there any KNOWN bug in Pocket PC
sockets, or anything else might have went wrong ?

I might not be able to post the code (my work place limitations), but
looking for someone who experienced this behaviour also.

thanks.
--------------------------------
From: Benny Blanco

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>4WiYzOmOWkq94DrEgdQlog==</Id>



Relevant Pages

  • RE: Synching with Exchange server from inside and outside the network
    ... synchronize your Pocket PC with Outlook. ... Can you synchronize your Pocket PC with Exchange server externally (server ... SBS 2003 supports ActiveSync via a client, or Server ActiveSync if you have ...
    (microsoft.public.windows.server.sbs)
  • Re: .Net development
    ... application accessed via the pocket pc's browser, it will be a sofware app ... database and at the same time it could connect to a server for data retreival ... > on the client application I would recommend a three-tier architecture. ... >> I have a project which consists of developing an application for pocket pc's. ...
    (microsoft.public.dotnet.general)
  • Re: POSTing Chinese characters
    ... your claims of POST'd data experiencing encoding problems does ... Character encoding of data on the client side ... Server locale ... it seems that your issue is a Pocket IE issue. ...
    (microsoft.public.inetserver.iis)
  • Socket Connect works on LAN but not WAN.
    ... I have written a client-server app where the server is a Win32 app using ... The client runs on a pocket pc using the .NET ... Pocket PC using the local IP address. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: File sizes in Outlook
    ... There is no such setting in the client. ... Message size limitations are set at ... the server. ...
    (microsoft.public.outlook.general)