Netcat (nc) is a command-line networking utility used here to simulate a TCP log server. It listens on a port, accepts streamed text, and writes received messages to the console, making network logging easy to test without deploying a full logging service. section 7.2.1
Start a TCP listener
Run `nc -lk 1902` to listen continuously on TCP port 1902. A Go client can connect to `localhost:1902` and stream log messages to the terminal. Some Netcat versions require the `-p` flag. section 7.2.1
nc -lk 1902
Use the runnable listener command to create a local endpoint for testing network clients and streamed logs. section 7.2.1
