How can I stream the data from the server to the users web browser? I know I can send the file from the server to the web server and than have the user download the file, but I am trying to avoid the middleman (the web server). Is there anyway to stream data from a remote machine to a users web browser? If you need me to elaborate please let me know.
Exactly the same way, read data from one socket, write data to another socket.
That is called a HTTP proxy , and it also has RFC(s)