Tagged: java

About java : Java—Fully-custom-IP-implementation

Question Detail I’m looking for a way to implement a custom version of the Internet Protocol. In Java. In other words: I want to control every single bit that leaves my computer. I don’t...

About java : Wait-for-outputStream-to-finish-writing-Java-Android

Question Detail How do I make this code wait for each other, and then finally reboot the device? outputStream.writeBytes(“rm -r myfile.txt\n”); outputStream.flush(); outputStream.writeBytes(“rm -r myfile2.txt\n”); outputStream.flush(); outputStream.writeBytes(“reboot -p”); Because of right now, it instantly...