title: ConnectionTimeout versus SocketTimeout
body: <p>I'm having a problem with a library that I am using. It might be the library or it might be me using it wrong!</p>
  
  <p>Basically, when I do this (Timeout in milliseconds)</p>
  
  <pre><code>_ignitedHttp.setConnectionTimeout(1);  // v short
  _ignitedHttp.setSocketTimeout(60000);  // 60 seconds
  </code></pre>
  
  <p>No timeout exception is generated and it works ok, however, when I do the following,</p>
  
  <pre><code>_ignitedHttp.setConnectionTimeout(60000);  // 60 seconds
  _ignitedHttp.setSocketTimeout(1);          // v short
  </code></pre>
  
  <p>I get a Socket Exception.</p>
  
  <p>So, my question is why can I not simulate a Connection Exception? Am I misunderstanding the difference between a socket and a connection time-out? The library is <a href="https://github.com/kaeppler/ignition-support/tree/master/src" rel="noreferrer">here</a> (not officially released yet).</p>