© Jan Newmarch 2017

Jan Newmarch, Network Programming with Go, 10.1007/978-1-4842-2692-6_3

3. Socket-Level Programming

Jan Newmarch

(1)Oakleigh, Victoria, Australia

There are many kinds of networks in the world. These range from the very old networks, such as serial links, through to wide area networks made from copper and fiber, to wireless networks of various kinds, both for computers and for telecommunications devices such as phones. These networks obviously differ at the physical link layer, but in many cases they also differ at higher layers of the OSI stack.

Over the years there has been a convergence to the “Internet stack” of IP and TCP/UDP. For example, Bluetooth defines physical layers and protocol layers, but on top of that is an IP stack ...

Get Network Programming with Go: Essential Skills for Using and Securing Networks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.