Beej's Guide to Network Programming (1994-2023)
Started reading... I'm trying to understand the difference between connectionless (datagram sockets) and persistent connection (stream sockets).The thing I've realised is that I don't understand what a connection actually is. So I don't understand this bit"Why are they connectionless? Well, basically, it’s because you don’t have to maintain an open connection as you do with stream sockets. You just build a packet, slap an IP header on it with destination information, and send it out. No connection needed"How can anything be sent with no connection? What is a connection?