Send code to pc via wifi with arduino Yun mini

Hi everyone

I'm struggling with arduino yun mini. I need arduino sends to pc via wifi an incremental code (for example from 0 to n). I need this because in the next future i will develop a accelerometer inside a tube.
I can't find anything about the wifi connection between them, can anyone help me?
Does alredy exist a sketch to send on arduino to send a message?

Sorry for my english :slight_smile:
Thank's for the help

Bye Bye

Try posting under Networking, Protocols, and Devices.