i am wrking on a project which is supposed to count packets that are sent and recieved in a LAN environment........i want help ragarding this....can anyone give ma a java code for counting packets in a network...
invokers 0 Newbie Poster
Recommended Answers
Jump to PostIs ths a Ethernet or Token Ring network?
Jump to PostYou need to use some JNI code or library if you wish to do packet sniffing in JAVA.
Easiest is use - Jpcap
Check http://netresearch.ics.uci.edu/kfujii/jpcap/doc/index.html
Jump to Postimport java.net.*;
All 11 Replies
hooknc 1 Posting Whiz in Training
aj.wh.ca 0 Junior Poster in Training
invokers 0 Newbie Poster
invokers 0 Newbie Poster
hooknc 1 Posting Whiz in Training
invokers 0 Newbie Poster
jwenting 1,905 duckman Team Colleague
invokers 0 Newbie Poster
hooknc 1 Posting Whiz in Training
masijade 1,351 Industrious Poster Team Colleague Featured Poster
invokers 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.