Socket programming with TCP using Micropython in ESP8266

Keywords: Socket, Socket programming, TCP/UDP Continuation tošŸ¤”socket programming. There are two widely used Socket types, stream sockets, andĀ datagram sockets. Stream sockets treat communications as a continuous stream of characters, while datagram sockets have to read entire messages at once. Each uses its own communications protocol. Stream sockets use TCP (Transmission Control Protocol), which is a reliable, stream oriented protocol, and datagram sockets use UDP (User Datagram Protocol), which is unreliable and message oriented. TCP socket runs on top of IP (Internet Protocol). TCP is a connection-oriented communication protocol. What is…

Read More