From 4b62fb68f198a7e5c653358c7535bfede8371f7d Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sun, 30 Nov 2008 13:52:26 -0600 Subject: [PATCH] Documentation update --- basis/io/servers/connection/connection-docs.factor | 4 ++-- basis/io/sockets/sockets-docs.factor | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/basis/io/servers/connection/connection-docs.factor b/basis/io/servers/connection/connection-docs.factor index b093840987..67c7cb13dd 100644 --- a/basis/io/servers/connection/connection-docs.factor +++ b/basis/io/servers/connection/connection-docs.factor @@ -66,11 +66,11 @@ ARTICLE: "io.servers.connection" "Threaded servers" "Stopping the server:" { $subsection stop-server } "From within the dynamic scope of a client handler, several words can be used to interact with the threaded server:" -{ $subsection remote-address } { $subsection stop-this-server } { $subsection secure-port } { $subsection insecure-port } -"Additionally, the " { $link local-address } " variable is set, as in " { $link with-client } "." ; +"Additionally, the " { $link local-address } " and " +{ $subsection remote-address } " variables are set, as in " { $link with-client } "." ; ABOUT: "io.servers.connection" diff --git a/basis/io/sockets/sockets-docs.factor b/basis/io/sockets/sockets-docs.factor index 25401293f5..cfc33a02f6 100644 --- a/basis/io/sockets/sockets-docs.factor +++ b/basis/io/sockets/sockets-docs.factor @@ -105,7 +105,7 @@ HELP: HELP: with-client { $values { "remote" "an address specifier" } { "encoding" "an encoding descriptor" } { "quot" quotation } } -{ $description "Opens a network connection and calls the quotation in a new dynamic scope with " { $link input-stream } " and " { $link output-stream } " rebound to the network streams. The local address the socket is bound to is stored in the " { $link local-address } " variable." } +{ $description "Opens a network connection and calls the quotation in a new dynamic scope with " { $link input-stream } " and " { $link output-stream } " rebound to the network streams. The local address the socket is connected to is stored in the " { $link local-address } " variable, and the remote address is stored in the " { $link remote-address } " variable." } { $errors "Throws an error if the connection cannot be established." } ; HELP: