networking

how do i capture packets in a local network in java..is there any package that helps me out..am tryin to develop a network monitoring tool..any idea abt how to start in this aspect?
[202 byte] By [highera] at [2007-10-2 22:02:13]
# 1
Java is not the best choice for low-level networking.
BIJ001a at 2007-7-14 1:18:41 > top of Java-index,Core,Core APIs...
# 2
but i got to do it in java..coz networkin in java is quite easy to grasp..there might be some library which can assist me..any idea?
highera at 2007-7-14 1:18:41 > top of Java-index,Core,Core APIs...
# 3
Yes it's easy to access HTTP from Java. Yes it's easy to create client/server application. But raw packets' capturing and parsing is not as easy as you expect...Anyway - you should search for jpcap (or something like this, I'm not sure about exact name) library.
Michael.Nazarov@sun.coma at 2007-7-14 1:18:41 > top of Java-index,Core,Core APIs...