Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Windows Sockets

Windows Sockets

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestionsysadminlounge
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ananth_rs
    wrote on last edited by
    #1

    hi all, I have a simple chat program that uses windows sockets... The problem is if my chat server is behind a Proxy, then the clients are unable to connect to the server... How can i establish connection between a remote client and my server which is behind the proxy... Does 'HTTP Tunnelling' Help?? If yes, where can i get more info on it?? please help !!! ananth

    J 1 Reply Last reply
    0
    • A ananth_rs

      hi all, I have a simple chat program that uses windows sockets... The problem is if my chat server is behind a Proxy, then the clients are unable to connect to the server... How can i establish connection between a remote client and my server which is behind the proxy... Does 'HTTP Tunnelling' Help?? If yes, where can i get more info on it?? please help !!! ananth

      J Offline
      J Offline
      Joaquin M Lopez Munoz
      wrote on last edited by
      #2

      Here at CodeProject you can have a look at Alex Turc's article HTTP Tunneling. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

      A 1 Reply Last reply
      0
      • J Joaquin M Lopez Munoz

        Here at CodeProject you can have a look at Alex Turc's article HTTP Tunneling. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

        A Offline
        A Offline
        ananth_rs
        wrote on last edited by
        #3

        Hi.. I have looked at the Alex Turc's HTTP Tunneling project... I think it would allow client applications to make connections to a remote host via a Proxy.. I want to know if this technique would also work for a Remote Client, trying to connect to a local host when there is a Proxy in between, that is a remote client wanting to initiate a connection to a local host?? Can proxy allow such a connection to take place??? regards ananth

        J 1 Reply Last reply
        0
        • A ananth_rs

          Hi.. I have looked at the Alex Turc's HTTP Tunneling project... I think it would allow client applications to make connections to a remote host via a Proxy.. I want to know if this technique would also work for a Remote Client, trying to connect to a local host when there is a Proxy in between, that is a remote client wanting to initiate a connection to a local host?? Can proxy allow such a connection to take place??? regards ananth

          J Offline
          J Offline
          Joaquin M Lopez Munoz
          wrote on last edited by
          #4

          If what you're trying to do is connect to a remote host inside a local network, that network should have some form of NAT (Network Address Translation) installed to make the remote host (or some TCP ports of it) visible to the outside world. There are various NAT systems, but all of them work replacing public addresses with private ones. Sort of like a proxy, but at a TCP/IP level (i.e., the system is transparent to the endpoints of the connection). Look for NAT on your web searcher. Generall, NAT systems are managed and configured by the network administrator, so if he hadn't made public the remote host you're trying to connect to, there's litle you can do from the outside. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups