Desktop Tcp socket does not know when socket from compactframework closes

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?
 
P

Paul G. Tobey [eMVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top