1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
3 ;;; --- Special variable definitions.
6 (in-package :net.sockets
)
9 "Specifies the default behaviour with respect to IPv6:
10 - nil : Only IPv4 addresses are used.
11 - :ipv6 : Only IPv6 addresses are used.
12 - t : If both IPv4 and IPv6 addresses are found they are returned in the best order possible (see RFC 3484).
15 (deftype *ipv6
*-type
()
16 '(member t nil
:ipv6
))
18 (defconstant +max-backlog-size
+ somaxconn
19 "Maximum length of the pending connections queue (hard limit).")
21 (defvar *default-backlog-size
* 5
22 "Default length of the pending connections queue (soft limit).")
24 (defvar *default-linger-seconds
* 15
25 "Default linger timeout when enabling SO_LINGER option on a socket.")