change printf to fprintf. ifdef out main() if a SERVICE.  Use Virtual RTX NIC if present