WLAN TcpClient Socket Connection throws no Exception

  • Thread starter Thread starter thebrath
  • Start date Start date
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
 
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
 
Back
Top