[Twisted-Python] How could I add reliability to a udp client
eddyxu at 126.com
Wed Nov 2 20:03:48 EST 2005
The client just send short command messages. Do it need to connect with
the server? perhaps the UDP way is lighter?
Itamar Shtull-Trauring 写道:
> On Wed, 2005-11-02 at 15:05 +0800, Eddy Xu wrote:
>> This is my situation: I have a client to send UDP messages to multi
>> servers, and I have to ensure all the messages be recieved by special
>> server. If the client didn't get the response , it should re-send the
>> message for times. I think i need maintain a FIFO queue for all
>> messages, but i have no idea how to deal with the different status of
>> message, such as send but not recieved message, don't be send, and have
>> resent for times. Can you help me?
> Any reason not to use TCP?
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
More information about the Twisted-Python