June 2014
Intermediate to advanced
696 pages
38h 52m
English
To begin using the net module in Node.js applications, you first need to understand the TCP Server and Socket objects. These objects provide the framework for starting a TCP server to handle requests and implementing TCP socket clients to make requests to the socket servers. Once you understand the events, properties, methods, and behavior of these objects, it will be simple to implement your own TCP socket servers and clients.
The following sections cover the purposes and behaviors of the net.Socket and net.Server objects. You’ll learn about their most important events, properties, and methods.
Read now
Unlock full access