UDP and Static IP

I keep getting a "WiFi does not name a type" message.

Your COMPLETE code generates a COMPLETE message that includes the file name, the line number, the column number, and the exact text with proper case.

Provide the COMPLETE code and the COMPLETE message(s) if you really want help.