title: How to separate recv from send in socket?
body: <p>when using socket api to code like this:</p>
  
  <pre><code># client end
  send(string1)
  send(string2)
  
  # server end
  st1 = recv(4096)
  st2 = recv(4096)
  </code></pre>
  
  <p>The problem is that st1 will receive both string1 and string2. How can I get st2 from string2?</p>