Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 885117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:51:23+00:00 2026-05-15T12:51:23+00:00

How to open socket thru proxy server in .Net C#? So I opened up

  • 0

How to open socket thru proxy server in .Net C#?

So I opened up a socket on my machin. there are no nats between pe and proxy server. I connected to proxy server. How now to make Requests from global IP world that know that proxy server adrress be redirected or transfered by proxy server to me?

Any libs blog articles? Please help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T12:51:23+00:00Added an answer on May 15, 2026 at 12:51 pm

    You cannot open a socket ‘thru’ something, only ‘to’ something. With proxy server (I assume you’re talking about HTTP proxy that supports ‘CONNECT’ command) it’s the same: first open a connection to it, then use its protocol to make proxy forward your connection where you want to using ‘CONNECT’ command.

    So you need to do the following steps:

    1. Connect to proxy.
    2. Issue CONNECT Host:Port HTTP/1.1<CR><LF>
    3. Issue <CR><LF>
    4. Wait for a line of response. If it contains HTTP/1.X 200, the connection is successful.
    5. Read further lines of response until you receive an empty line.
    6. Now, you are connected to the outside world through a proxy. Do any data exchange you want.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my Java application there is a Socket open and data is being read
Is there a way to get a list of all open sockets ( socket
I am planning a protocol where two applications open a socket between them and
I open a server socket at localhost's port e.g 11111, and I also include
Is there any way to open a broadcast bluetooth socket, take a listen and
I have an open socket to a remote terminal. Using the answer to Force
I'm trying to send a String[] over an open socket connection but it's doesn't
I am trying to open a Socket on Android but everytime I try I
I am trying to write a simple program to open a socket channel to
Can Silverlight 3 OPEN SOCKETS? If yes. What do I need MSDN if there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.