[erlang-questions] packet sniffing

Gleb Peregud gleber.p@REDACTED
Wed Feb 3 22:32:12 CET 2010


On Wed, Feb 3, 2010 at 22:19, Angel <clist@REDACTED> wrote:
> Hi i came across this page:
>
> http://xumingyong.javaeye.com/blog/585229
>
> He is using erl_nif

This solution looks very flawed, since it employs busy waiting on
capture/0. AFAIK right now there is no way to implement anything
asynchronous/event-based/callback-based using NIFs, so they are not
really usable for this purpose. Please correct me if I'm wrong


More information about the erlang-questions mailing list