From 1dc4b588304b582dec62543f4b3778c192f016d2 Mon Sep 17 00:00:00 2001 From: Stelian Ionescu Date: Mon, 14 May 2007 23:59:54 +0200 Subject: [PATCH] Small fix in socket option list. Signed-off-by: Stelian Ionescu --- sockets/socket-options.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sockets/socket-options.lisp b/sockets/socket-options.lisp index f9354fd..b00ca75 100644 --- a/sockets/socket-options.lisp +++ b/sockets/socket-options.lisp @@ -203,14 +203,15 @@ ;; TCP options ;; ;;;;;;;;;;;;;;;;; +(define-socket-option tcp-nodelay :get-and-set et::tcp-nodelay et:ipproto-tcp :bool :unix) (define-socket-option tcp-maxseg :get-and-set et::tcp-maxseg et:ipproto-tcp :int (or :linux :freebsd)) -(define-socket-option tcp-nodelay :get-and-set et::tcp-nodelay et:ipproto-tcp :bool (or :linux :freebsd)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Linux-specific options ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;; (define-socket-option tcp-cork :get-and-set et::tcp-cork et:ipproto-tcp :bool :linux) (define-socket-option tcp-defer-accept :get-and-set et::tcp-defer-accept et:ipproto-tcp :int :linux) +;; TODO: implement "struct tcp_info" helper ;; (define-socket-option tcp-info :get et::tcp-info et:ipproto-tcp :tcp-info :linux) (define-socket-option tcp-keepcnt :get-and-set et::tcp-keepcnt et:ipproto-tcp :int :linux) (define-socket-option tcp-keepidle :get-and-set et::tcp-keepidle et:ipproto-tcp :int :linux) -- 2.11.4.GIT