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

Hey everyone,
I'm trying to create a project in which I have to send data from one Arduino Yun to another Arduino Yun, taking advantage of the Wi-Fi module that this board offers. I have set one Arduino to act as a client and the other as a server. I have looked at the bridge libraries present on this site but when trying to connect the Arduinos, it won't work. Of course, I have connected both Yuns to the same Wi-Fi network.

The code I am using doesn't seem to work for some reason and I don't understand why. Any suggestions or example code I can use to connect these two Arduinos so that they can exchange messages between each other over Wi-Fi?

Thank you very much in advance :slight_smile:

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