Pustaka Taratsa
ESP32: WiFi UDP Echo Hello

ESP32: WiFi UDP Echo Hello

Penulis: Onno Widodo Purbo

Sumber: http://www.iotsharing.com/2017/06/how-to-use-udpip-with-arduino-esp32.html Contents 1 Server 2 ESP32 3 Referensi 4 Pranala Menarik Server import socket # bind all IP HOST = '0.0.0.0' # Listen on Port PORT = 44444 #Size of receive buffer BUFFER_SIZE = 1024 # Create a TCP/IP socket s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # Bind the socket to the host and port s.bind((HOST,