Dot Net Solutions
George V Place,
4 Thames Avenue
Windsor
Berkshire
SL4 1QP
Great Britain
0845 402 1752
GEO: -0.606174, 51.4843
 
 
 
 
09 Sep 2010

Socket Connect - a word of warning

This is the third in a series of articles describing the issues we have encountered when using Sockets in the .Net Micro Framework and highlights quite an acute problem. Symptoms You are attempting to connect to a remote endpoint over TCP. Your code looks not too dissimilar to this: public void SendData(IPAddress address, int port) { IPEndPoint endpoint = new IPEndPoint(address, port); using (var socket = new Socket(AddressFamily.InterNetwork , Socket ... [Read more]
Published: 09 Sep 2010  02:38 | 1  Comment | 0  Links to this post
 
 
 
 
06 Sep 2010

Socket Timing Problems

In a previous blog post I described the Linger error that we were running into from time to time and how you can mitigate against this by setting the ‘Linger’ option on the socket. This was the first of several issues we identified when working with Sockets in the .Net Micro Framework 3.0. The next challenge we faced was to do with intermittent performance problems when communicating over HTTPS. Example: The Socket Client Demo We had noticed that the time it took for our application to com ... [Read more]
Published: 06 Sep 2010  02:09 | 0  Comments | 0  Links to this post
 
 
 
 
02 Sep 2010

Linger error

One of the more significant challenges that we have faced during our last project presented itself to us about halfway through the project timeline. Our .Net Micro Framework application regularly sends messages to remote endpoints out on the internet over HTTPS/TCP. In isolation a single HTTPS request using the .Net Micro Framework was a pain free operation (even if there is no HTTPS stack out of the box). However, the problem was that after an indeterminate period of time our application wou ... [Read more]
Published: 02 Sep 2010  11:07 | 1  Comment | 0  Links to this post