"Listen on localhost" - what does it mean?
I'm writing a daemon which woule take commands from gdb (GNU debugger), interpret them and send them to a remote target. A developer told me to: "write a daemon to listen on localhost, and speak whatever protocol your target needs.". What did he mean with "listen on localhost"? How would I intercept commands from a running program (like gdb)?