Re: [tkined] udp, tcl, and retry code help?

From: Doug Hughes (Doug.Hughes@Eng.Auburn.EDU)
Date: Fri Jun 16 2000 - 15:32:29 MET DST


>
>Doug Hughes wrote:
>>
><snip>
>> >
>> >There must be some way to do this and hopefully something simple that
>> >I've overlooked.
>> >
>>
>> I've got a clean-room tcl udp implementation based partly
>> on Juergen's but mostly on the old tcludp 1.0 package.
>> I've made it asynchronous, so you can use fileevent to
>> receive stuff. Also, you can use fconfigure $udp -remote
>> to get the address of the remote.
>>
>> If you're interested, let me know.
>
>Yes, but how do you handle retries? Sending and receiving is not an
>issue. I even know where its going or came from. The tricky part is
>once its left, how do I kick off a timer for the acknowledgement? And
>when that timer fires, how will I know which timer fired since I may
>have quite a few timers active at once?
>

That's an algorithmic issue. As somebody else mentioned, the
Tannenbaum book has good stuff on this (or most other college
level networking books)

Sorry I misunderstood your issue.

>I don't want to rewrite the packet engine with your libs if I'm still
>back wondering how to do the retries.
>

acknowledged.

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.



This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:46 MET