O'Reilly logo

Pro Node.js for Developers by Colin J. Ihrig

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required