netstat command used for code example Example: netstat command windows netstat -ano //To check active internet connection in your computer