summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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