Change isBound to check local Fd instead of global fd
Use of global FD creates problem when using multiple listener in the same executable. E.g.: Create and bind a listener in a thread, then create and immediately destroy another listener -> runtime exception.
Showing
Please register or sign in to comment