June 2025
Intermediate to advanced
837 pages
24h 50m
English
In a web application, communication takes place over the network using a browser. The communication protocol is usually HTTP. For a command-line application, however, different rules apply when it comes to communication. There’s only one endpoint and not any number of them. Moreover, the user doesn’t connect to the application via the network, but works directly with the application through the command prompt. So, you have to keep some things in mind when it comes to input and output, especially if you aren’t just generating output but interacting with the user during the runtime of the command-line application, as in the Math Trainer example.
The general rule for Unix applications is that ...
Read now
Unlock full access