Use a thread to scan the IP address of the LAN