I'd like to filter incoming pakets from a stream within a certain amount of time.
e.g.
filter all "A" within 5 seconds
10:00:00 "A" <- show
10:00:01 "A" <- don't show
10:00:02 "B" <- show
10:00:03 "A" <- don't show
10:00:06 "A" <- show
I thought about implementing this with a sort of FIFO.
what do you think might be the best solution?
I'm using c#, .net 3.5