APDE WIFI sketch

Hello
I am writing a program using APDE as development environment.
The sketch fails to run, and it seems that the compiler rejects the WIFI code such as udp.send() and receive ().
Can anybody provide a WIFI code example running on APDE?
Thanks