Merge remote-tracking branch 'upstream/master'

db4
John Benediktsson 2011-09-26 13:37:42 -07:00
commit 25ad4af3e4
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:"
{ $code "f 0 <inet4> <datagram>" }
"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."
}
{ $errors "Throws an error if the port is already in use, or if the OS forbids access." } ;