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

Comparing AnyEvent-MP/MP/Intro.pod (file contents):
Revision 1.21 by elmex, Fri Aug 28 15:58:23 2009 UTC vs.
Revision 1.22 by elmex, Fri Aug 28 17:03:02 2009 UTC

259part of this example too. We will call the sender I<profile> 259part of this example too. We will call the sender I<profile>
260C<eg_simple_sender>. For the sender we will just setup a I<seed> to the 260C<eg_simple_sender>. For the sender we will just setup a I<seed> to the
261receiver: 261receiver:
262 262
263 aemp profile eg_simple_sender setseeds localhost:12266 263 aemp profile eg_simple_sender setseeds localhost:12266
264 aemp profile eg_simple_sender setbinds
264 265
265You might wonder why we don't setup a I<bind> here. Well, there can be 266You might wonder why we setup I<binds> to be empty here. Well, there can be
266exceptions to the I<fully> in the I<fully connected mesh> in L<AnyEvent::MP>. 267exceptions to the I<fully> in the I<fully connected mesh> in L<AnyEvent::MP>.
267If you don't configure a I<bind> for a node's profile it won't bind itself 268If you don't configure a I<bind> for a node's profile it won't bind itself
268somewhere. These kinds of I<nodes> will not be able to send messages to other 269somewhere. These kinds of I<nodes> will not be able to send messages to other
269I<nodes> that also didn't I<bind> them self to some TCP address. For this 270I<nodes> that also didn't I<bind> them self to some TCP address. For this
270example, as well as some cases in the real world, we can live with this 271example, as well as some cases in the real world, we can live with this

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines