Desktop Tcp socket does not know when socket from compactframework closes

  • Thread starter Thread starter In-Ho Yi
  • Start date Start date
I

In-Ho Yi

When we call Stream.Read(...), it returns 0 when the
connection disconnects. However, when I disconnect socket
from PDA, Stream.Read( . . .) in desktop does not return 0
and it just hangs. seems like desktop-side socket does not
acknowledge when the PDA-side socket closes.

Any idea? is there any way that I can get around this
problem?
 
Give us the code which is running on the desktop. Using a network sniffer,
verify that packets with the FIN bit set and/or the RST bit set are sent
from the PPC device to the desktop device. How does the desktop respond to
those packets?

Paul T.
 
Back
Top