WLAN TcpClient Socket Connection throws no Exception

T

thebrath

Hi,

i have the following Environment:

I have a WinCE device with CompactFramework 2.0 and my TCP client
application.

The server application .Net 2.0 is running on a XP machine. The device
is connected by WLAN. Everything works fine, as long as the WLAN
connection is fine. But when it is very poor, the devices writes data
over the stream without an exception, but the Server does not get the
Message. IMHO should a TCP Connection make shure that the server got
the data? If I shut down the Server, the Client does not recognize it.
If the Client runs on a XP machine it gets an Exception. I Could try
to reconnect my Connection on the Clientdevice, but therefore I have
to recognize the closed Connection.

Anyone an Idea?

Greetings Volker
 
S

Simon Hart [MVP]

Firstly have you tried using the Socket class instead of TcpClient? TcpClient
can be problematic at times.

Can you post some device code, connecting, sending etc
 

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