mfontanini / libtins

High-level, multiplatform C++ network packet sniffing and crafting library.
http://libtins.github.io/
BSD 2-Clause "Simplified" License
1.91k stars 377 forks source link

Resolve IP to Windows hostname via Windows Browser service? #304

Open goflatworld opened 6 years ago

goflatworld commented 6 years ago

Windows Browser service sends broadcast to the network, announce some information about the Windows PC itself. One of the information is it's hostname. I want to capture the hostname, however libtins doesn't support this protocol natively. I read the doc on how to add another Protocol. However, it seems that I can only add protocol on top of IP,Ethernet II. I can not add protocol on top of UDP?

Can you please help?