November 2013
Intermediate to advanced
148 pages
3h 12m
English
Node.js is built from the ground up to do networked programming. In this chapter, we’ll explore Node’s built-in support for low-level socket connections. TCP sockets form the backbone of modern networked applications, and understanding them will serve you well as we do more complex networking through the rest of the book.
As you develop socket-based servers and clients, you’ll learn about the following Node.js aspects.
The asynchronous programming techniques we explored in the last chapter will be even more important here. You’ll learn how to extend Node.js classes like EventEmitter. You’ll create custom modules to house reusable code.
A network connection has two endpoints. A common ...
Read now
Unlock full access