Create a TCP/IP Client on Photon to communicate to Master in WiFI LAN

Dear Community,

I just bought my photon. I just wondering how to setup the board for:
1 - to attach to a wifi network called ‘pippo’ with a WPA key '1234’
2 - to start a TCP-IP client on the photon that connects to a server on '’
3 - send-receive data (i.e read pin, write pin from server)


Hello, glad to have you!

Have a look:
-3: particle function and/or variables should work, but you can also do your own thing with TCP for example.