Yes, when you subscribe with an address where the host portion starts with a tilde, the messenger will actually bind to that address rather than connect to it.
--Rafael On Mon, Feb 11, 2013 at 2:51 PM, Paul O'Fallon <[email protected]>wrote: > Ah ok thanks! Is it the tilde in the IP address portion of the URL that > denotes this? > > - Paul > > On Mon, Feb 11, 2013 at 8:59 AM, Rafael Schloming <[email protected]> > wrote: > > > The example provided here[1] should be suitable for both peer to peer and > > brokered operation, you just need to change the address you supply in > order > > to switch between the two. The default addresses supplied in the recv.c > > should set the receiver up to listen for incoming connections. Just point > > the sender to it the same way you would point it to a broker. > > > > [1] > > > > > https://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/examples/messenger/c/ > > > > --Rafael > > > > On Sat, Feb 9, 2013 at 11:03 PM, Paul O'Fallon <[email protected] > > >wrote: > > > > > Hello! An earlier e-mail to the qpid-user mailing list ( > > > http://bit.ly/WWTSYn) indicates that AMQP 1.0 (and the proton > Messenger > > > API > > > in particular) support peer-to-peer communication. Is there a C API > > > example of using proton in this peer-to-peer fashion? So far I've only > > > used it to send and receive from brokers, but I'd be interested to > learn > > > more about this peer-to-peer support as well... > > > > > > Thank you! > > > > > > - Paul > > > > > >
