Hi,

How can I listen for any network traffic made by a plugin?

I use the following code snippet to listen for http traffic.

 nsCOMPtr<nsIObserverService> obsSvc =
      do_GetService("@mozilla.org/observer-service;1");

  MyObserver* observer = ...

  obsSvc->AddObserver(observer, "http-on-examine-response", PR_FALSE);

But for other non-http traffic made by a plugin, (e.g. a flash plugin
can make a rtmp connection), I can't capture that using the above
code.

Thank you for any tip.
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to