I know how to listen on a dedicated port using nsISocketTransportService in Add-on sdk. But, is it possible to use UNIX socket in Add-on SDK to communicate with oher applications.
Asked
Active
Viewed 1,090 times
1 Answers
0
It seems you can't: https://support.mozilla.org/en-US/kb/permission-request-messages-firefox-extensions)
This would make sense, since:
- UNIX sockets are a special file on *nix
- they are not available across platforms
- this would be a huge security issue.
If you need to communicate with other software on the computer you can probably safely use regular network sockets, websockets, etc...

gergelykalman
- 177
- 7