realbasic-nug
[Top] [All Lists]

Issue with creating a proxy

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Issue with creating a proxy
From: Christian <rblists@pariahware.com>
Date: Wed, 29 Apr 2009 12:14:39 -0400
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
I posted this to the forum a few days ago with no responses. I hope someone on the list here can help me out...

I've made a proxy server that isn't working quite right and I'm not sure what is going on. When started, the application listens to a specified port on localhost. When a connection is received on localhost, it sends the request to a new socket via the HTTPProxy settings of the HTTPSocket. When the new socket's PageReceived event fires, it sends the page contents back to the original socket so that it, in turn, and return the contents to connection. Then the 2 sockets disconnect.

Now, this appears to be working fine, except that, even though the original socket is sending the page back, my web browser displays the GET header request instead of the page contents. Any ideas (and better yet, solutions) for what is going on here?

Thank you,
Christian
Pariahware, Inc.
Mac, Windows, Linux, & iPhone Consulting
<pariahware@pariahware.com>
<http://www.pariahware.com>
--
God loved you so much that He gave His only son Jesus. What have you done with God's gift?






_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • Issue with creating a proxy, Christian <=