Have you tried to "Ping" your compact rio? This will check basic network connection. Also, what is the Controller(OS) and labview version? If it is a VXworks OS.and you fault the tcp/ip coms the only thing you can do is a re-boot to get tcp based coms to work again. UDP Coms and your code will still work.