I have a question about how to structure communication between a (new) Firefox extension and existing C# code.
The firefox extension will use configuration data and
I would personally used named pipes to do the communication instead of sockets. They're very low overhead, and very reliable on Windows.
This is very easy to use from C++ and from C#.