This is possible.
First of all, please see this CodeProject article:
A Network Sniffer in C#[
^].
You can try to find something else:
http://bit.ly/1uFOgiu[
^].
Maybe you can even find something else in source code:
http://bit.ly/1uFONRl[
^].
Only don't expect VB.NET solution; any .NET open-source solution will be good enough for your. Most likely, it would be C#. It's even more likely to find something in C/C++, but I'm not sure it could suite you. Do some search, anyway.
—SA