Main Menu

Barebones Ping Program

Started by ComputerCrafter, Nov 28, 2024, 12:14 PM

Previous topic - Next topic

ComputerCrafter

So after seeing shorun's sysmon, I've thought about making it an independent program without any dependencies.

My program here uses Rednet to transmit a ping signal to the receiving computer, where another program relays a signal back within 6 seconds, if it not, the ping fails.
The signals are sent on the same channel as the receiving computer's ID, and it also applies both ways.

The program also auto-detects modems placed directly on the computer, remote peripherals are not automatically detected.
To successfully ping a computer, you need to install the server file on the receiving end and the main program on the input end.

Pastebin codes are here:
-ServerFile: aaNPhNKP
-MainProgram: FwW35pqX
If you want to make the server run the program automatically, just make a startup file and run it using multishell or parallel.

Screenshots:


Top: Server / Bottom: Client

"Code is read much more often than it is written."
– Guido Van Rossum, creator of Python