Sending and receiving data from Arduino to Raspberry pi 3 via wifi

Hello community,

so my question is: which code do i use to send and receive data (just a long int) from Arduino to raspberry pi 3 via wifi. I use an ESP8266 for the Arduino.

thanks :slight_smile: