Ping And Scan functions work correctly.