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." } ;