History

20080207-1033

Charles.Forsyth committed 18 years ago

Commit 39c204d1 parent 422f1321 file · +20 −1Browse files

Unified · Split

man/2/dial+20−1
@@ -19,7 +19,7 @@ listen: fn(c: ref Connection): ref Connection; · 18 unmodified lines
1919 accept: fn(c: ref Connection): ref Sys->FD;
2020 reject: fn(c: ref Connection, why: string);
2121
22−netmkaddr: fn(net, host, svc: string): string;
22+netmkaddr: fn(addr, defnet, defsvc: string): string;
2323
2424 Conninfo: adt
2525 {
@@ -238,6 +238,25 @@ Use · 212 unmodified lines
238238 to reject the incoming call; some networks will also tell the caller the reason
239239 .IR why .
240240 .PP
241+.B Netmkaddr
242+makes
243+.I addr
244+into a full network address,
245+suitable for
246+.B dial
247+or
248+.BR announce .
249+It adds the default network
250+.I defnet
251+and a default service
252+.I defsvc
253+to the given
254+.I addr
255+as required, including
256+.RB ` ! '
257+separators,
258+and returns the result.
259+.PP
241260 Given a
242261 .BR Connection ,
243262 .B netinfo