Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

socket

The program's end of a network conversation: an address plus a port.

A socket is an operating-system endpoint for network I/O, identified by IP address, port and protocol; a TCP connection is a pair of sockets.

Examples

  • The sensor's end of its broker connection is the socket 192.168.1.37 port 49152, TCP; the broker's end is 192.168.1.10 port 1883.

  • Two sensors can both reach port 1883 on the laptop without mixing traffic, because each connection is a different pair of sockets.

Read the full section →