Hi<div><br></div><div>This is regarding the usage of &quot;getsockname&quot; API in vortex.</div><div><br></div><div>Vortex uses &quot;getsockname&quot; API to get name of the local socket and checks if the operation is successful by looking at the return code. I looked at the man page/help doc of Linux, AIX and Windows. This API returns 0 upon success and -1 in case of failure. But vortex checks if error code is less than &quot;-1&quot; but it does not check if error code is equal to &quot;-1&quot;. Is this intentional or is it a bug?</div>
<div><br></div><div>Shouldn&#39;t the condition be to check if the return code is equal to &quot;-1&quot; or probably less than or equal to &quot;-1&quot;?</div><div><br></div><div>Thanks</div><div>Subrahmanya</div>