<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'TCP Socket though proxy' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'TCP Socket though proxy' posted on the 'C/C++ on Linux/Unix' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 18 May 2013 10:28:07 -0700</pubDate>
    <lastBuildDate>Sat, 18 May 2013 10:28:07 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>TCP Socket though proxy</title>
      <link>http://www.programmersheaven.com/mb/ConLunix/419696/419696/tcp-socket-though-proxy/</link>
      <description>Hallo, &lt;br /&gt;
I have to modify a C client/server program that opens a TCP socket from the client to the server. Recently my company installed a firewall between the various (physical) sites we run and now. So, every outgoing connection passes though a proxy server. That of course is a huge problem for the program. Unfortunately, the original programmer is not among us anymore and I have to fulfill the management's request and modify the program in order to use the proxy. &lt;br /&gt;
I searched on the internet but I did not find very useful information on the matter. So, is it possible to open a socket via an HTTP proxy? If yes, how on earth can I do that?&lt;br /&gt;
Note: The program uses libneon for some HTTP requests, namely, an HTTP authentication. That part is OK since libneon supports proxies. But the rest of the program uses plain old sockets...&lt;br /&gt;
Thank you in advance&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ConLunix/419696/419696/tcp-socket-though-proxy/</guid>
      <pubDate>Sat, 13 Nov 2010 13:18:43 -0700</pubDate>
      <category>C/C++ on Linux/Unix</category>
    </item>
    <item>
      <title>Re: TCP Socket though proxy</title>
      <link>http://www.programmersheaven.com/mb/ConLunix/419696/419871/re-tcp-socket-though-proxy/#419871</link>
      <description>Nobody?&lt;br /&gt;
Please?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ConLunix/419696/419871/re-tcp-socket-though-proxy/#419871</guid>
      <pubDate>Mon, 22 Nov 2010 13:20:01 -0700</pubDate>
      <category>C/C++ on Linux/Unix</category>
    </item>
    <item>
      <title>Re: TCP Socket though proxy</title>
      <link>http://www.programmersheaven.com/mb/ConLunix/419696/419941/re-tcp-socket-though-proxy/#419941</link>
      <description>Why do you need everything to go through HTTP?  &lt;br /&gt;
&lt;br /&gt;
What about making another TCP/IP server program to run on that proxy machine and let it handle relaying the messages to and from the internet-based TCP/IP server?</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ConLunix/419696/419941/re-tcp-socket-though-proxy/#419941</guid>
      <pubDate>Fri, 26 Nov 2010 09:58:09 -0700</pubDate>
      <category>C/C++ on Linux/Unix</category>
    </item>
    <item>
      <title>Re: TCP Socket though proxy</title>
      <link>http://www.programmersheaven.com/mb/ConLunix/419696/419947/re-tcp-socket-though-proxy/#419947</link>
      <description>I don't know anything about libneon, but perhaps you can write a wrapper around those socket calls and route them through libneon?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ConLunix/419696/419947/re-tcp-socket-though-proxy/#419947</guid>
      <pubDate>Fri, 26 Nov 2010 15:34:15 -0700</pubDate>
      <category>C/C++ on Linux/Unix</category>
    </item>
    <item>
      <title>Re: TCP Socket though proxy</title>
      <link>http://www.programmersheaven.com/mb/ConLunix/419696/419948/re-tcp-socket-though-proxy/#419948</link>
      <description>Blanket reason not to create a new TCP/IP server program: IANA port assignments, and the sheer number of custom applications that are likely to be out there.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ConLunix/419696/419948/re-tcp-socket-though-proxy/#419948</guid>
      <pubDate>Fri, 26 Nov 2010 15:36:26 -0700</pubDate>
      <category>C/C++ on Linux/Unix</category>
    </item>
    <item>
      <title>Re: TCP Socket though proxy</title>
      <link>http://www.programmersheaven.com/mb/ConLunix/419696/421845/re-tcp-socket-though-proxy/#421845</link>
      <description>Hi&lt;br /&gt;
I was wondering if you could find any solution for your problem?&lt;br /&gt;
Since I'm facing with the very same problem!&lt;br /&gt;
&lt;br /&gt;
I'm inside of a well protected network, and I want to connect to an external IP with "Socket" object. Previously I've used "HTTPRequest" and "WebProxy", like this:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;IWebProxy wp = HttpWebRequest.GetSystemWebProxy();
wp.Credentials = CredentialCache.DefaultCredentials;
MyWebService.Proxy = wp; &lt;/pre&gt;&lt;br /&gt;
and it worked well. But I can't connect with "Socket".</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ConLunix/419696/421845/re-tcp-socket-though-proxy/#421845</guid>
      <pubDate>Sat, 19 Feb 2011 04:32:08 -0700</pubDate>
      <category>C/C++ on Linux/Unix</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/ConLunix/419696/421846/this-post-has-been-deleted/#421846</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ConLunix/419696/421846/this-post-has-been-deleted/#421846</guid>
      <pubDate>Sat, 19 Feb 2011 04:33:59 -0700</pubDate>
      <category>C/C++ on Linux/Unix</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/ConLunix/419696/421847/this-post-has-been-deleted/#421847</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ConLunix/419696/421847/this-post-has-been-deleted/#421847</guid>
      <pubDate>Sat, 19 Feb 2011 04:34:21 -0700</pubDate>
      <category>C/C++ on Linux/Unix</category>
    </item>
  </channel>
</rss>