http://winpcap.polito.it/ - Go there and find the development documentation. I have used it to capture packets before using C++. However, i do not know if they yet support capturing packets from a modem. I am also unsure if it can allow you to block packets from coming in. Its the best help i can offer. :) if i want to this with combining manged and unmanaged c++ code what can i do? This will require most likely using unmanaged and managed code, however, it is not too hard? :confused: Just, implement as little as possible in unmanaged to talk with the dll for the packet driver.