Two Laptop Bag
The moose likes Sockets and Internet Protocols and the fly likes Network monitoring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Network monitoring" Watch "Network monitoring" New topic

Network monitoring

ajithsasi kumar

Joined: Apr 06, 2008
Posts: 21
My aim is to develop a program which runs in my machine and gives an alert when a user logins to a machine which is in another group in the network i.e., my machine is in different group and the other machine in another group but all are in the same network. Please help me to develop the program.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Sounds like a packet sniffer. You'll need to use JNI to integrate with native code components, since Java does not have access to the network on that level. There's a library on SourceForge called jpcap that can help with this.
I agree. Here's the link:
subject: Network monitoring
It's not a secret anymore!