You must be root to use ports below 1024.
If you try to bind to a port which is already in use, the listen system call will fail with error EADDRINUSE (already in use). See the listen(2) manual page.
Last edited by matthewg42; 11-10-2007 at 06:35 PM.
Reason: removed faulty comma
|