Skip to content

Commit

Permalink
disconnection
Browse files Browse the repository at this point in the history
  • Loading branch information
sblantipodi committed Jan 7, 2025
1 parent 0fb9c8e commit 14813fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/dpsoftware/grabber/GrabberManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -255,12 +255,14 @@ public void getFPS() {
scheduledExecutorService.scheduleAtFixedRate(framerateTask, 0, 5, TimeUnit.SECONDS);
}

// TODO
private static void ping(String ip) {
List<String> pingCmd = new ArrayList<>(Arrays.stream(NativeExecutor.isWindows() ? Constants.PING_WINDOWS : Constants.PING_LINUX).toList());
pingCmd.add(ip);
NativeExecutor.runNative(pingCmd.toArray(String[]::new), 3000);
}

// TODO
/**
* Ping devices
*/
Expand Down

0 comments on commit 14813fc

Please sign in to comment.