CHAPTER 10

image

Network Programming

Until this point, the example code provided in this book has focused on your local machine. Whether accessing the file system, parsing command line arguments, or executing untrusted code, all examples were isolated to a single computer. This chapter starts to explore the world outside of localhost. It covers network programming and introduces many important topics, including sockets, client-server programming, Transmission Control Protocol (TCP), User Datagram Protocol (UDP), and Domain Name Service (DNS). A full explanation of all these concepts is beyond this book’s scope, but a basic understanding of them is ...

Get Pro Node.js for Developers 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.