[Twisted-Python] Connectionless AMP?
peter at sabaini.at
Thu Nov 20 15:17:55 EST 2008
On Thursday 20 November 2008 20:53:04 Jean-Paul Calderone wrote:
> On Thu, 20 Nov 2008 17:58:32 +0100, Peter Sabaini <peter at sabaini.at> wrote:
> >I want to implement a messageing protocol running on top of TIPC /
> > SOCK_RDM to be able to do multicasting; ie. send messages in a
> > connectionless manner.
> >I implemented some TIPC support, but I now wonder how to go about the
> >protocol. Originally, I thought about using AMP, but this seems to assume
> > a connection-oriented transport.
> >How would you go about this? Should it be possible to use a datagram-like,
> >connection-less transport with AMP? Or should I rather take a more
> > low-level approach, eg. by using IntNStringReceiver and roll my own?
> >Thanks for any advice.
> You can use AMP to format your datagrams, but you'll have to do extra work
> if you want any of the command-related functionality to work, since it
> assumes a reliable transport.
> `AmpBox´ has a `serialize´ method and `twisted.protocols.amp´ has the free
> function `parseString´.
Thanks, I'll try that!
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20081120/fbe84f26/attachment.pgp
More information about the Twisted-Python