ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-MP/bin/aemp
(Generate patch)

Comparing AnyEvent-MP/bin/aemp (file contents):
Revision 1.35 by root, Fri Sep 4 21:01:22 2009 UTC vs.
Revision 1.36 by root, Fri Sep 4 21:46:10 2009 UTC

250 250
251=item setseeds <host:port>,... 251=item setseeds <host:port>,...
252 252
253Sets or replaces the list of seeds, which must be specified as a 253Sets or replaces the list of seeds, which must be specified as a
254comma-separated list of C<host:port> pairs. The C<host> can be a hostname, 254comma-separated list of C<host:port> pairs. The C<host> can be a hostname,
255an IP address, or C<*> to signify all local host addresses. If the 255an IP address, or C<*> to signify all local host addresses (which makes
256C<:port> is omitted, then the default port of C<4040> is assumed. 256little sense for seeds, outside some examples, but a lot of sense for
257binds).
257 258
258An empty list is allowed. 259An empty list is allowed.
259 260
260Example: use C<doomed> with default port as only seednode. 261Example: use C<doomed> with default port as only seednode.
261 262
286=over 4 287=over 4
287 288
288=item setbinds <host:port>,... 289=item setbinds <host:port>,...
289 290
290Sets the list of bind addresses explicitly - see the F<aemp setseeds> 291Sets the list of bind addresses explicitly - see the F<aemp setseeds>
291command for the exact syntax. In addition, a value of C<0> for the port 292command for the exact syntax. In addition, a value of C<*> for the port,
292means to use a dynamically-assigned port. 293or not specifying a port, means to use a dynamically-assigned port.
293 294
294Note that the C<*>, C<*:*> or C<*:port> values are very useful here. 295Note that the C<*>, C<*:*> or C<*:port> patterns are very useful here.
295 296
296Example: bind on the default port (4040) on all local interfaces. 297Example: bind on a ephemeral port on all local interfaces.
297 298
298 aemp setbinds "*" 299 aemp setbinds "*"
299 300
300Example: bind on a random port on all local interfaces. 301Example: bind on a random port on all local interfaces.
301 302
302 aemp setbinds "*:*" 303 aemp setbinds "*:*"
303 304
304Example: resolve "doomed.mydomain" and try to bind on port C<4040> of all 305Example: resolve "doomed.mydomain" and try to bind on port C<4040> of all
305IP addressess returned. 306IP addressess returned.
306 307
307 aep setbinds doomed.mydomain 308 aep setbinds doomed.mydomain:4040
308 309
309=item delbinds 310=item delbinds
310 311
311Removes the bind list again, which means it is inherited again from it's 312Removes the bind list again, which means it is inherited again from it's
312parent profile, or stays unset. 313parent profile, or stays unset.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines