Question
September 13, 2007 at 08:27 PM
suhtetkyaw

TcpClient sendTimeout property cannot work in WindowsCE(.NetCF 2.0)

by suhtetkyaw . Updated 18 years, 10 months ago

I am developing Pocket PC application using VB.net. I use TCP/IP socket to send and receive messages. I use synchronous blocking method for sending and receiving messages. There is no send timeout and receive timeout facility in current .Net Compact Framework. So, my current problem is that, sometimes, when I try to send something to the server, the program waits until it receives some reponse messages from the server. If either the server doesn’t respond or the client doesn’t receive any response, the program is blocked always and cannot quit. I will appreciate if you have some idea about timeout facility. I hope someone can help me.. thanks a lot.

This discussion is locked

All Comments