Documentation update
parent
f0fc3190f3
commit
4b62fb68f1
|
@ -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"
|
||||
|
||||
|
|
|
@ -105,7 +105,7 @@ HELP: <client>
|
|||
|
||||
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: <server>
|
||||
|
|
Loading…
Reference in New Issue