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