title: Connecting to Twitch using my C++ irc bot
body: <p>I have some problems connecting my bot to irc.twitch.tv. Connecting to irc.ubuntu.com is no problem tho..<br><br>
  When connecting to ubuntu I just send nick and then usr. With twitch I am sending pass, nick and then usr. <br>
  I am really confused why this isn't working at all. Usually I think twitch should tell me anything but after my bot tells me that no special errors occur there is just no message at all. So I think the problem is within the connection not with me being unable to send a valid pass before usr and nick.<br>
  Because my code is a little longer I am posting it on pastebin I hope you can understand and analyse it:</p>
  
  <p><a href="http://pastebin.com/Win3CXbP" rel="nofollow">http://pastebin.com/Win3CXbP</a></p>
  
  <pre><code>PS:  - My oauth PW should be correct it is not the string in the sample code.
       - I have the pw/usr/nick in the right order, nick/usr is wrong in code.
       - I want to say again, that I don't get any message from twitch or any errors.
  
  PPS:  - I just tried using wireshark and when filtering for "irc" I got some data 
          with irc.ubuntu.com, but none with irc.twitch.tv. 
          Is the twitch adress wrong?
  PPPS: - I am not completely into wireshark yet, but the only messages I am getting 
          on tcp port 6667 are 
                              "connection establish request"       
          and                 "connection establish acknowledge"
  </code></pre>