Hi<div><br></div><div>This is regarding the usage of "getsockname" API in vortex.</div><div><br></div><div>Vortex uses "getsockname" 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 "-1" but it does not check if error code is equal to "-1". Is this intentional or is it a bug?</div>
<div><br></div><div>Shouldn't the condition be to check if the return code is equal to "-1" or probably less than or equal to "-1"?</div><div><br></div><div>Thanks</div><div>Subrahmanya</div>