June 2014
Intermediate to advanced
696 pages
38h 52m
English
An important part of backend services is the ability to communicate over sockets. Sockets allow one process to communicate with another process through an IP address and port. This can be useful when you’re implementing interprocess communication (IPC) for two different processes running on the same server or accessing a service running on a completely different server. Node.js provides the net module, which allows you to create both a socket server and clients that can connect to the socket server. For secure connections, Node.js provides the tls module that allows you to implement secure TLS socket servers and clients.
Read now
Unlock full access