From e255e9f1cb11afd2ccc31c8c9dd48eb5f266df82 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Mon, 26 Sep 2011 12:27:37 -0700 Subject: [PATCH] Fix typo on datagram docs --- basis/io/sockets/sockets-docs.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/io/sockets/sockets-docs.factor b/basis/io/sockets/sockets-docs.factor index ea95ae9726..7fae4677fa 100644 --- a/basis/io/sockets/sockets-docs.factor +++ b/basis/io/sockets/sockets-docs.factor @@ -201,7 +201,7 @@ HELP: "To create a datagram socket bound to a randomly-assigned port, set the port number in the address specifier to 0, and then read the " { $snippet "addr" } " slot of the datagram instance to obtain the actual port number it is bound to:" { $code "f 0 " } "To accept UDP/IP packets from the loopback interface only, use an address specifier like the following:" - { $code "\"127.0.0.1\" 1234 s" } + { $code "\"127.0.0.1\" 1234 " } "Since " { $link resolve-host } " can return multiple address specifiers, your code must create a datagram socket for each one and co-ordinate packet sending accordingly." } { $errors "Throws an error if the port is already in use, or if the OS forbids access." } ;