title: recvfrom failing with error 11
body: <p>I am trying out a udpclient program which uses <strong>sendto</strong> and <strong>recvfrom</strong> functions. I am setting <strong>SO_RCVTIMEO</strong> value as 10 seconds for my socket. </p>
  
  <p>I am binding the socket to source ipaddress and sourceport. When I check the netstat I can see that there is no other process which is binded with the same values. My bind operation is also successfull.</p>
  
  <p>Then I am doing a sendto which is sending a echo request to destination. After sendto I am doing a recvfrom. But recvfrom fail's saying ERRNO 11 which means <strong>try again</strong> :(</p>
  
  <p>But if I check the wireshark logs I can see ECHO REQUEST and ECHO REPLY which is coming within few milliseconds but still recvfrom is not able to read it :(. In wireshark I am seeing the UDP ECHO REQUEST AND UDP ECHO REPLY.</p>
  
  <p>I dont have any FIREWALL enabled in my system.</p>
  
  <p>Is there any way to debug this issue :( I am really doubting the RECV operation is there any way to find out if the packet is being sent to my sockFD or not ???</p>
  
  <p><strong>UPDATE1:</strong> My linux PC is connected to another linux pc acting as a server via switch. </p>