Commit eafe4588 authored by Chun Tian (binghe)'s avatar Chun Tian (binghe)
Browse files

New exported symbol: *ipv6-only-p*

parent 74b2820d
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
#:*default-event-base* #:*default-event-base*
#:host-to-hostname #:host-to-hostname
;; these're socket-related conditions from IOlib ;; socket-related conditions from IOlib
#:ADDRESS-NOT-AVAILABLE-ERROR #:HOST-DOWN-ERROR #:ADDRESS-NOT-AVAILABLE-ERROR #:HOST-DOWN-ERROR
#:OPERATION-NOT-SUPPORTED-ERROR #:SOCKET-OPTION #:OPERATION-NOT-SUPPORTED-ERROR #:SOCKET-OPTION
#:NETWORK-DOWN-ERROR #:INVALID-SOCKET-ERROR #:NETWORK-DOWN-ERROR #:INVALID-SOCKET-ERROR
...@@ -123,4 +123,7 @@ ...@@ -123,4 +123,7 @@
;; added in 0.8.2 ;; added in 0.8.2
#:host-or-ip #:host-or-ip
;; added in 0.9.0
#:*ipv6-only-p*
)) ))
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
(in-package :usocket) (in-package :usocket)
(defvar *ipv6-only-p* nil)
(defparameter *wildcard-host* #(0 0 0 0) (defparameter *wildcard-host* #(0 0 0 0)
"Hostname to pass when all interfaces in the current system are to "Hostname to pass when all interfaces in the current system are to
be bound. If this variable is passed to socket-listen, IPv6 capable be bound. If this variable is passed to socket-listen, IPv6 capable
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment