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 (Unix 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

Virtual serial port

Keywords: Virtual ports, Virtual TCP/UDP, Virtual Serial Port, Virtual COM port I actually wondered when I heard Virtual COM port term, a question raised in my mind – what is the need of a Virtual COM Port and searched for the answer which I would like to share in simple terms. Virtual in computer terminology means not physically existing as such but made by software to appear to do so. Most modern desktop computers and laptops do not have the DB9 RS-232 serial ports that were traditionally used to connect…

Read More