title: What is SOCK_DGRAM and SOCK_STREAM?
body: <p>I just came across this strange thing I got to see  application is that by default they use <code>SOCK_STREAM</code> function.  Why is it so? Is this <code>SOCK_STREAM</code> just creating multiple streams? Or is it the standard <code>SOCK_STREAM</code> function available for creating TCP stream(s)?</p>
  <p>I thought tsunami is based on UDP, but still having some features like that of TCP, e.g. TCP fairness, friendlyness, etc.</p>
  <p>Could somebody please shed some light on this issue? I am totally confused over this.</p>