title: Winsock: Listen and recv (differences)
body: <p>I found this defeinitons of funcion <code>listen</code> and <code>recv</code> in winsock library (TCP/IP stream communication).</p>
  
  <blockquote>
    <p>The listen function places a socket in a state in which it is listening for an incoming connection.</p>
    
    <p>The recv function receives data from a connected socket or a bound connectionless socket.</p>
  </blockquote>
  
  <p>Does it mean that if I want to receive data from particular socket I should firstly use <code>listen</code> and then <code>recv</code>? I'm not sure if I understand this correctly.</p>