O'Reilly logo

Node.js Recipes: A Problem-Solution Approach by Cory Gackenheimer

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 2

image

Networking with Node.js

Node.js is designed to function well in a networked environment. Its nonblocking, event-driven architecture allows for the use of highly scalable, networked applications. In this chapter you will discover many of the implementation details surrounding Node.js and its networking capabilities. In particular the recipes you will see will cover these topics:

  • Setting up a server
  • Creating connections to your server
  • Configuring server defaults
  • Creating a client
  • Using sockets to communicate between servers
  • Retrieving details about connected servers
  • Controlling socket details

Once you have read this chapter, you should ...

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