Remix.run Logo
fp64 4 days ago

I think you are right. At least they should document that it only works if you have netstat installed and using it on a device called "en0"

diggan 3 days ago | parent [-]

They do that implicitly in the comment above the function:

> // Function to monitor network activity (macOS specific)

I'm guessing all macOS computers use exactly the same NIC name, and come with netstat preinstalled?