<div dir="ltr"><div>When usingĀ  read(2) or recv(2) on an accepted client socket, I&#39;ve been experiencing errors such as &quot;Socket operation on non-socket&quot; and &quot;Transport endpoint is not connected&quot;. I&#39;m not sure where the issue is coming from, how should I go about debugging it? I can provide code segments if requested.<br><br></div>-Pat<br></div>