3 ms·
You could use non blocking TCP, and not worry about where the listening process, and have some idea if there's problem. Now, you're just ignoring the possibili
by beagle3 15y ago
You could use non blocking TCP, and not worry about where the listening process, and have some idea if there's problem.
Now, you're just ignoring the possibility of a problem, which might be fine and dandy, but you're not actually getting anything in return (well, about 5 lines of C code to set up the TCP connection in non-blocking mode, and tear it down if there's an error).