- Understand how to create a socket ✅
- Understand how the TCP server starts listening to connections on a port ✅
- Understand how data is received via socket ✅
- Understand how data is transmitted through socket ✅
- Understand how to process multiple customers at once ✅
- Understand how to close the connection correctly both from the client and from the server ✅
You need to create two console applications. One of them will serve as a network server, and the other will serve as a client that will connect to the first one. The client application will prompt the user to enter text from the keyboard and send it to the server. The server application will display this message in its window, and then forward it to all connected customers (including the one who sent the original message). Customers will be able to send as many messages as they want.
npm inode servernode