title: SSL client-hello, message body structure
body: <p>I'm trying to work with SSL manually without using libs as OpenSSL etc... And I have fault on 1st step with Hello message from client.</p>
  
  <p>From <a href="http://technet.microsoft.com/en-us/library/cc785811%28v=ws.10%29.aspx" rel="nofollow">technet</a>:</p>
  
  <pre><code>It must consist of:
  ClientVersion 3,1
  ClientRandom[32]
  SessionID: None (new session)
  Suggested Cipher Suites:
     TLS_RSA_WITH_3DES_EDE_CBC_SHA
     TLS_RSA_WITH_DES_CBC_SHA
  Suggested Compression Algorithm: NONE
  </code></pre>
  
  <p>In my code ( C/C++ ), I have created message on this way:</p>
  
  <pre><code>char *request = "ClientVersion 3,1\r\nClientRandom[32]\r\n
  SessionID: None (new session)\r\n
  Suggested Cipher Suites:\r\n
  TLS_RSA_WITH_3DES_EDE_CBC_SHA\r\n
  TLS_RSA_WITH_DES_CBC_SHA\r\n
  Suggested Compression Algorithm: NONE\r\n";
  </code></pre>
  
  <p>But after recv() functions, I've got 0 in result, so what's wrong in my message structure?</p>
  
  <p>PS
  In HTTP-proto there is a place, when must be double \r\n ( which splits the headers and the body message ), may be, there must be something like this or not?</p>