How to send message FROM native app TO Chrome extension?

后端 未结 3 1346
醉话见心
醉话见心 2020-12-03 06:13

I have read docs, but still cannot realize. I have desktop application written in C and Chrome extension. I know how to receive this message in my chrome extension:

3条回答
  •  情话喂你
    2020-12-03 06:19

    I used function write:

    write(1,buf,n);
    

    buf is your message, n is length if your message You also can use printf.

提交回复
热议问题