© 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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.