Socket.listen

void listen(int backlog) @trusted

Listen for an incoming connection. bind must be called before you can listen. The backlog is a request of how many pending incoming connections are queued until accepted.