【发布时间】:2012-03-05 03:44:09
【问题描述】:
我需要从我的 C# 应用程序向我的 Firefox 扩展发送一些字符串(名称、号码),我已经阅读了一些技术,但不知道如何实现它。
- 管道
- 套接字(HTTP 请求)
如果它使用 HTTP 请求更好。
更新
onSocketAccepted : function(socket, transport)
{
alert("came")
var input =transport.openInputStream(0, 0, 0);
alert(input)
}
我从 C# 应用程序发送的消息会在 var 输入中吗???
【问题讨论】:
-
欢迎来到 Stack Overflow。请阅读How to Ask、What have you tried?和How To s The Smart Way。
标签: c# sockets firefox httpwebrequest firefox-addon