bsdsocket: break the loop if socket argument is invalid
If socket is not a proper acceptable socket (-1, for example), break the server accept loop, to avoid CPU hog.
Loading
Please register or sign in to comment
If socket is not a proper acceptable socket (-1, for example), break the server accept loop, to avoid CPU hog.