[Twisted-Python] Connectionless AMP?
exarkun at divmod.com
Thu Nov 20 14:53:04 EST 2008
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
>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
More information about the Twisted-Python