summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2008-02-07 10:26:22 +0000
committerCharles.Forsyth <devnull@localhost>2008-02-07 10:26:22 +0000
commit26d8182f7bb82186ac317fe0b9a6aa34866c8504 (patch)
tree0a4e6b0c23eb8b60bdf9c38b818f8053b08a8d65
parent7d71f6aed094027aed1a43cdd7e91674892f7e89 (diff)
20080207-1033
-rw-r--r--man/2/dial21
1 files changed, 20 insertions, 1 deletions
diff --git a/man/2/dial b/man/2/dial
index 623c4c31..a1ddb871 100644
--- a/man/2/dial
+++ b/man/2/dial
@@ -19,7 +19,7 @@ listen: fn(c: ref Connection): ref Connection;
accept: fn(c: ref Connection): ref Sys->FD;
reject: fn(c: ref Connection, why: string);
-netmkaddr: fn(net, host, svc: string): string;
+netmkaddr: fn(addr, defnet, defsvc: string): string;
Conninfo: adt
{
@@ -238,6 +238,25 @@ Use
to reject the incoming call; some networks will also tell the caller the reason
.IR why .
.PP
+.B Netmkaddr
+makes
+.I addr
+into a full network address,
+suitable for
+.B dial
+or
+.BR announce .
+It adds the default network
+.I defnet
+and a default service
+.I defsvc
+to the given
+.I addr
+as required, including
+.RB ` ! '
+separators,
+and returns the result.
+.PP
Given a
.BR Connection ,
.B netinfo