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

From: Matthew Levine (mlevine@cisco.com)
Date: Fri Jun 16 2000 - 03:29:58 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?

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

Thanks,
Matthew

>
> --
> !! 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.

-- 
---
------
Matthew Levine
Development Test (Consumer Line Of Business)
Cisco Systems, Inc	http://www.cisco.com/
mlevine@cisco.com	(408) 525 - 5431
--
!! 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