Possible to pass an already opened socket-instance to firefox?

Eric Rescorla ekr at rtfm.com
Fri Mar 24 21:52:29 UTC 2017


To the best of my knowledge, there is no way to do this.

Generally, if you want to do something like this, you set up an SSH tunnel
or the like.

-Ekr


On Fri, Mar 24, 2017 at 12:53 AM, Ajay Garg <ajaygargnsit at gmail.com> wrote:

> Hi All.
>
> I am wishing to communicate between Machine-1 and Machine-2.
>
> Machine-1 has a public-IP, whereas Machine-2 does not.
> Machine-1 is the client, while Machine-2 runs a web-server.
>
> So, a normal http://Machine-2/path/to/stuff cannot be used from a browser
> in Machine-1, because Machine-2 does not have a public-IP.
> But, a normal TCP socket can be created *from* Machine-2, using
> Machine-1's public IP.
>
> So, can this socket be somehow passed to firefox on Machine-1?
> This way, firefox DOES NOT create the initiating TCP-connection (instead
> using the passed socket), and thereafter begins passing/receiving the HTTP
> requests/responses as usual.
>
>
> Do I make sense in my query?
> If yes, is it possible of what we desire?
>
>
> Will be great to listen back from the experts !!
>
>
> Thanks and Regards,
> Ajay
>
> _______________________________________________
> firefox-dev mailing list
> firefox-dev at mozilla.org
> https://mail.mozilla.org/listinfo/firefox-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/firefox-dev/attachments/20170324/e45cfcdb/attachment.html>


More information about the firefox-dev mailing list