.NET values lookup

Posted by Maciej on Stack Overflow See other posts from Stack Overflow or by Maciej
Published on 2010-04-13T14:01:11Z Indexed on 2010/04/13 14:03 UTC
Read the original article Hit count: 311

Filed under:
|
|
|
|

Hi,

I have a feeling of missing something obvious. UDP receiver application. It holds a collection of valid UDP sender IPs - only guys with IP on that list will be considered. Since that list must be looked at on every packet and UDPs are so volatile, that operation must be maximum fast. Good choice is Dictionary but it is a key-value structure and what I actually need here is a dictionary-like (hash lookup) key only structure. Is there something like that? Small annoyance rather than a bug but still. I can still use Dictionary

Thanks, M.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about lookup