Sending a message from an Arduino Yun to another Arduino Yun over Wi-Fi.

have you tried running wireshark to monitor data flow on the network
also can you communicate with a server and/or client on a PC