Fix typo on datagram docs

db4
Doug Coleman 2011-09-26 12:27:37 -07:00
parent 86923107db
commit e255e9f1cb
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ HELP: <datagram>
"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:" "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 <inet4> <datagram>" } { $code "f 0 <inet4> <datagram>" }
"To accept UDP/IP packets from the loopback interface only, use an address specifier like the following:" "To accept UDP/IP packets from the loopback interface only, use an address specifier like the following:"
{ $code "\"127.0.0.1\" 1234 <inet4> <datagram>s" } { $code "\"127.0.0.1\" 1234 <inet4> <datagram>" }
"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." "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." } ; { $errors "Throws an error if the port is already in use, or if the OS forbids access." } ;