msantos / epcap

Erlang packet capture interface using pcap
http://listincomprehension.com/2009/12/erlang-packet-sniffer-using-ei-and.html
BSD 3-Clause "New" or "Revised" License
178 stars 56 forks source link

epcap_net and pkt #4

Closed ates closed 12 years ago

ates commented 12 years ago

Hello Michael,

What is the difference between epcap_net and pkt modules? As far I see these are identical. What is the sence to have pkt as dependency for epcap? Which one is prefered to use to decapsulate packets?

Thank you.

ates commented 12 years ago

Will close this issue, found the note in epcap_net module:

%%% Code has moved to:
%%% https://github.com/msantos/pkt

-module(epcap_net).
-deprecated(module).

Sorry for disturb :)

msantos commented 12 years ago

Hey Artem!

What is the difference between epcap_net and pkt modules? As far I see these are identical. What is the sence to have pkt as dependency for epcap? Which one is prefered to use to decapsulate packets?

Sorry for the confusion. I split epcap_net out of epcap into pkt so other projects wouldn't have a dependency on libpcap.

I've kept epcap_net around because I haven't fixed the examples on my blog. Eventually (probably soon) I'll remove epcap_net completely.

Let me know if you have any other questions!