WebException: Unable to read data from the transport connection

A bug has been found on NETCF v2 and v35 that affects HTTPS web requests from Windows Mobile 6 devices. Andrew has a blog article about the cause of the issue in detail. The following is table listing whether the issue reproduces on a particular platform: OS V2 SP2 7045 V35 RTM 7283 PPC 2003…

0

Establish a GPRS connection with TcpClient

NETCF’s HttpWebRequest automatically sets up a GPRS connection for web requests/web services when a wired/wi-fi connection is not available. Therefore, when you do a web request or consume a web service, developers do not need special coding to handle the GPRS connection case. This does not apply to lower level socket classes like TcpClient and…

3

Multicast Sockets Sharing a Port

Because multicasting is a one to many communication, there maybe some occasions when you would like multiple UdpClient instances on the same machine to receive data from the same multicast group and port. To do this, you would need to set the SO_REUSEADDR socket option before joining the multicast group. Here are some sample codes that…

0

HttpWebRequest: Timeout and ReadWriteTimeout

In NETCF V1, when a HttpWebRequest fails due to a timeout, a WebException is thrown with this exception message: System.Net.WebException: The operation has timed-out. This means that the request cannot be completed within the timeout value, which can be set through the Timeout property in HttpWebRequest. The default value for this Timeout property is 100 seconds….

0