Stream across the Network with C#
I want to ask how could I stream images using C# to clients which are not local.

The idea is to let users from other computers see the images coming from the webcam connected to my PC, by typing the IP of my computer to their webbrowser.

I have succeeded in making it locally - when I access the 127.0.0.1 address on my computer, it works.
I have tried using WCF, and also TcpListener:

    listener = new HttpListener();
    listener.Start();
    HttpListenerContext context = listener.GetContext();
    HttpListenerResponse response = context.Response;
    System.IO.Stream output = response.OutputStream;
    ...

But, when I try to make it work from outside my local network - I fail to.

My question is like this:

-Do you know any library in C# which will easily let me listen to requests and answer them by a Stream? (I am trying to let browsers access the images stream which I send to them. it works nicely locally...)

-Maybe you know of a different approach which will ease the task?

-Besides, to which address should I listen when trying to broadcast to the outside world? 127.0.0.1? the address which I see on WhatsMyIp sites?

Thank you Very Much!
Stream across the Network with C#
===

I want to ask how could I stream images using C# to clients which are not local.

The idea is to let users from other computers see the images coming from the webcam connected to my PC, by typing the IP of my computer to their webbrowser.

I have succeeded in making it locally - when I access the 127.0.0.1 address on my computer, it works.
I have tried using WCF, and also TcpListener:

    listener = new HttpListener();
    listener.Start();
    HttpListenerContext context = listener.GetContext();
    HttpListenerResponse response = context.Response;
    System.IO.Stream output = response.OutputStream;
    ...

But, when I try to make it work from outside my local network - I fail to.

My question is like this:

-Do you know any library in C# which will easily let me listen to requests and answer them by a Stream? (I am trying to let browsers access the images stream which I send to them. it works nicely locally...)

-Maybe you know of a different approach which will ease the task?

-Besides, to which address should I listen when trying to broadcast to the outside world? 127.0.0.1? the address which I see on WhatsMyIp sites?

Thank you Very Much!