listen(fd, n) gives the kernel a queue for connections that completed the handshake but were not yet taken by accept(). What happens when it is full (drop the SYN, reset, refuse) depends on the operating system.