io.sockets: fix a few typos in docs
							parent
							
								
									032c9d061a
								
							
						
					
					
						commit
						2696c59aab
					
				|  | @ -143,7 +143,7 @@ HELP: <inet6> | ||||||
| { $description "Creates a new " { $link inet6 } " address specifier. A value of " { $link f } " as the host refers to localhost, while " { $link f } " as the port defers the port choice until a later time." } ; | { $description "Creates a new " { $link inet6 } " address specifier. A value of " { $link f } " as the host refers to localhost, while " { $link f } " as the port defers the port choice until a later time." } ; | ||||||
| 
 | 
 | ||||||
| HELP: <client> | HELP: <client> | ||||||
| { $values { "remote" "an address specifier" } { "encoding" "an encding descriptor" } { "stream" "a bidirectional stream" } { "local" "an address specifier" } } | { $values { "remote" "an address specifier" } { "encoding" "an encoding descriptor" } { "stream" "a bidirectional stream" } { "local" "an address specifier" } } | ||||||
| { $description "Opens a network connection and outputs a bidirectional stream using the given encoding, together with the local address the socket was bound to." } | { $description "Opens a network connection and outputs a bidirectional stream using the given encoding, together with the local address the socket was bound to." } | ||||||
| { $errors "Throws an error if the connection cannot be established." } | { $errors "Throws an error if the connection cannot be established." } | ||||||
| { $notes "The " { $link with-client } " word is easier to use in most situations." } | { $notes "The " { $link with-client } " word is easier to use in most situations." } | ||||||
|  | @ -225,7 +225,7 @@ HELP: with-local-address | ||||||
| { $description "Client sockets opened within the scope of the quotation passed to this combinator will have their local address bound to the given address." } | { $description "Client sockets opened within the scope of the quotation passed to this combinator will have their local address bound to the given address." } | ||||||
| { $examples | { $examples | ||||||
|   { "Binds the local address of a newly created client socket within the quotation to 127.0.0.1." |   { "Binds the local address of a newly created client socket within the quotation to 127.0.0.1." | ||||||
|     "This ensures that all traffic originates from the given address (the port is choosen by the TCP stack)." } |     "This ensures that all traffic originates from the given address (the port is chosen by the TCP stack)." } | ||||||
|   { $code "\"127.0.0.1\" 0 <inet4> [ ] with-local-address" } |   { $code "\"127.0.0.1\" 0 <inet4> [ ] with-local-address" } | ||||||
|   $nl |   $nl | ||||||
|   { "Binds the local address of a newly created client socket within the quotation to the local address 192.168.0.1 and the local port 23000. " |   { "Binds the local address of a newly created client socket within the quotation to the local address 192.168.0.1 and the local port 23000. " | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue