By Following the official nativeMessaging documentation, I implemented a simple Native messaging extension and a host.
But whenever I call chrome.runtime.connectNative it opens a new instance of the host application.
var port = chrome.runtime.connectNative('com.my_app');
It's a bit confuse that the function connectNative as it's name, should only connect, but instead it's "open and connect".
What I really want is to just "Connect" with an native app which is already opened. Is this doable?