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

Comparing AnyEvent-MP/MP.pm (file contents):
Revision 1.121 by root, Tue Feb 28 18:37:24 2012 UTC vs.
Revision 1.122 by root, Wed Feb 29 18:44:59 2012 UTC

267That means that the values specified in the profile have highest priority 267That means that the values specified in the profile have highest priority
268and the values specified directly via C<configure> have lowest priority, 268and the values specified directly via C<configure> have lowest priority,
269and can only be used to specify defaults. 269and can only be used to specify defaults.
270 270
271If the profile specifies a node ID, then this will become the node ID of 271If the profile specifies a node ID, then this will become the node ID of
272this process. If not, then the profile name will be used as node ID. The 272this process. If not, then the profile name will be used as node ID, with
273special node ID of C<anon/> will be replaced by a random node ID. 273a slash (C</>) attached.
274
275If the node ID (or profile name) ends with a slash (C</>), then a random
276string is appended to make it unique.
274 277
275=item step 2, bind listener sockets 278=item step 2, bind listener sockets
276 279
277The next step is to look up the binds in the profile, followed by binding 280The next step is to look up the binds in the profile, followed by binding
278aemp protocol listeners on all binds specified (it is possible and valid 281aemp protocol listeners on all binds specified (it is possible and valid
305Example: configure a node using a profile called seed, which is suitable 308Example: configure a node using a profile called seed, which is suitable
306for a seed node as it binds on all local addresses on a fixed port (4040, 309for a seed node as it binds on all local addresses on a fixed port (4040,
307customary for aemp). 310customary for aemp).
308 311
309 # use the aemp commandline utility 312 # use the aemp commandline utility
310 # aemp profile seed nodeid anon/ binds '*:4040' 313 # aemp profile seed binds '*:4040'
311 314
312 # then use it 315 # then use it
313 configure profile => "seed"; 316 configure profile => "seed";
314 317
315 # or simply use aemp from the shell again: 318 # or simply use aemp from the shell again:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines