mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-20 14:19:18 +02:00
Fixing (chibi net) docs.
This commit is contained in:
parent
c8f61c8893
commit
424671e5cf
2 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@
|
|||
(close-file-descriptor (car io))
|
||||
res))))
|
||||
|
||||
;;> \subsubsubsection{\scheme{(make-listener-socket addrinfo [max-conn])}}
|
||||
;;> \procedure{(make-listener-socket addrinfo [max-conn])}
|
||||
|
||||
;;> Convenience wrapper to call socket, bind and listen to return
|
||||
;;> a socket suitable for accepting connections on the given
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
|
||||
;;> Set an option for the given socket. For example, to make the
|
||||
;;> address reusable:
|
||||
;;> @scheme{(set-socket-option! sock level/socket socket-opt/reuseaddr 1)}
|
||||
;;> \scheme{(set-socket-option! sock level/socket socket-opt/reuseaddr 1)}
|
||||
|
||||
(define-c errno (set-socket-option! "setsockopt")
|
||||
(fileno int int (pointer int) (value (sizeof int) socklen_t)))
|
||||
|
@ -121,6 +121,6 @@
|
|||
(define-c-const int (socket-opt/rcvlowat "SO_RCVLOWAT"))
|
||||
(define-c-const int (socket-opt/sndlowat "SO_SNDLOWAT"))
|
||||
|
||||
;;> The constants for the @scheme{get-socket-option} and
|
||||
;;> @scheme{set-socket-option!}.
|
||||
;;> The constants for the \scheme{get-socket-option} and
|
||||
;;> \scheme{set-socket-option!}.
|
||||
;;/
|
||||
|
|
Loading…
Add table
Reference in a new issue