PC Review


Reply
Thread Tools Rate Thread

Catch Event: PDA into PowerSave

 
 
=?Utf-8?B?UnViZW4gVmFuIEhhdmVybWFldA==?=
Guest
Posts: n/a
 
      8th Jun 2005
Dear Group,

I am developing a client-server application with pda's. I use the class
Socket to obtain a connection between server pc and client pda.

When the pda goes out of range of the WIFI network, then it is succesfully
disconnected from the server.

But when the pda goes into power save mode, it gets disconnected on client
side, but the connection seems still up in the server. When i then send data
through this socket in the server, i receive no notification that the
connection was closed. (and so the sent message is sent into the void?)

Has anyone experienced this problem?

Thanks in advance,

regards,
ruben.
 
Reply With Quote
 
 
 
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a
 
      8th Jun 2005
If the server still thinks that the connection is live, a standard TCP
time-out will occur. The server will send a packet and wait for
acknowledgement. When no acknowledgement is returned from your client, the
server will wait a defined period of time and try again. Again, there will
be no response, so the server will wait a longer period of time. After
about 60 seconds, depending on how the server is configured, the connection
will be dropped. If that's not happening then there are only two things
that I can think of:

1. Your server is set up for some very long time-out parameters. Look up
how TCP/IP settings are controlled in your operating system manual or
online.

2. The device is not breaking the connection and is acknowledging the
packets. You'd need a network sniffer to see if this is the case.

Paul T.

"Ruben Van Havermaet" <(E-Mail Removed)> wrote in
message news:0885AC1C-5E42-4BFB-8987-(E-Mail Removed)...
> Dear Group,
>
> I am developing a client-server application with pda's. I use the class
> Socket to obtain a connection between server pc and client pda.
>
> When the pda goes out of range of the WIFI network, then it is succesfully
> disconnected from the server.
>
> But when the pda goes into power save mode, it gets disconnected on client
> side, but the connection seems still up in the server. When i then send
> data
> through this socket in the server, i receive no notification that the
> connection was closed. (and so the sent message is sent into the void?)
>
> Has anyone experienced this problem?
>
> Thanks in advance,
>
> regards,
> ruben.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: catch PnP Event in C# Ben Voigt [C++ MVP] Microsoft C# .NET 1 26th Oct 2009 10:29 PM
Event Log Catch-22 Evan M. Microsoft Dot NET Framework Forms 1 1st Aug 2008 07:06 PM
catch event Nader Tewelde Microsoft Excel Programming 2 22nd Jun 2007 07:59 PM
How to catch "new-row-editing-cancelled" event in DataGridView (isthere any similar event?) Paul Jones Microsoft Dot NET Framework Forms 2 25th Jul 2006 02:29 PM
Catch attachment event Vyyk Drago Microsoft Outlook VBA Programming 2 12th Sep 2004 07:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:00 PM.