I'm trying to set up native messaging between a browser extension and a native c program. I'm pretty sure I understand the extension side and have it ready to test; but I haven't used C since Borland Turbo C was popular.
Would you please point me to information on how the
stdout in C are used to receive and post messages from the browser? I'm sure I'm just looking in the wrong places but all I've come across relate to the keyboard and files, but not input from another program. I think I can manipulate the information once I get it, but I'm stuck on the first step of the equivalent of setting up a communication port listener.