Java Client Server Application which detects insertion and removal of Flash Drives in Client Computers Across a LAN !
Tested successfully on Windows 7 and Ubuntu 16.04
Steps to Run Client:
- Open RemoteFlashDriveDetector/remoteflashdrivedetector-client/src/main/resources/settings.properties
- Set operating system to either "ubuntu" or "windows" depending on the OS on client machine.
- Set port
- Go the RemoteFlashDriveDetector/remoteflashdrivedetector-client/
- Run from terminal by using -> mvn exec:java
Steps to Run Server:
- Open RemoteFlashDriveDetector/remoteflashdrivedetector-server/src/main/resources/settings.properties
- Set ip to the same ip as your network interface on the server machine.
- Set port
- Go the RemoteFlashDriveDetector/remoteflashdrivedetector-server/
- Run from terminal by using -> mvn exec:java
IMPORTANT - Port on both client and server should be same to enable multicasting to work