diff --git a/src/sockets/make-socket.lisp b/src/sockets/make-socket.lisp index fdbc459782b328a093f619545373b96dddbec428..cf38b1661415401dc3414e2b0e29855ebbd00412 100644 --- a/src/sockets/make-socket.lisp +++ b/src/sockets/make-socket.lisp @@ -320,7 +320,7 @@ The socket is automatically closed upon exit." ;;; FIXME: must come up with a way to find out ;;; whether a socket is active or passive -(defmethod make-socket-from-fd ((fd integer) &key (connect :active) (external-format :default) +(defmethod make-socket-from-fd ((fd integer) &key (dup t) (connect :active) (external-format :default) input-buffer-size output-buffer-size) (flet ((%get-address-family (fd) (with-sockaddr-storage-and-socklen (ss size) @@ -339,6 +339,7 @@ The socket is automatically closed upon exit." :default :connect connect :fd fd + :dup dup :external-format external-format :input-buffer-size input-buffer-size :output-buffer-size output-buffer-size)))