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 3959684
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T02:45:38+00:00 2026-05-20T02:45:38+00:00

I know that SOCKS 5 supports UDP and I have been over the structure

  • 0

I know that SOCKS 5 supports UDP and I have been over the structure of the packets that are sent/received in negotiating with a SOCKS proxy.

The one thing I am not clear on is the procedure for setting up to register with a proxy to send/receive UDP packets.

Specifically, my biggest question is, “Is the connection to the SOCKS proxy that is used to negotiate a UDP associate relationship still made with TCP/IP?”. In other words, “Do you end up using a TCP/IP socket to receive UDP packets routed through a SOCKS proxy?”

I would imagine that, if you used a TCP/IP connection to establish a pathway for UDP communication, you’d kind of be missing the whole point of establishing UDP communications. However, on the other hand, if the negotiation were made using UDP (and resulted in a UDP socket), then how would the relationship be terminated when your application is shutting down and no longer needs the proxy to “remember” you?

I have been all over the net looking for an example…but can’t find anything. Any help (especially an example) would be appreciated.

  • 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-20T02:45:39+00:00Added an answer on May 20, 2026 at 2:45 am

    https://www.rfc-editor.org/rfc/rfc1928

    "A UDP-based client MUST send its datagrams to the UDP relay server at
    the UDP port indicated by BND.PORT in the reply to the UDP ASSOCIATE
    request"

    but

    "UDP association terminates when the TCP connection that the UDP
    ASSOCIATE request arrived on terminates."

    I actually tried using it once, but failed, because many "socks5" proxy
    implementations don’t actually support the complete protocol.
    So I’d suggest to set up a working test case first (find an app which
    would support socks5 udp proxy, and a proxy where it would actually work).
    Then any network sniffer would tell you how it really works (if it does).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want ro receive some data that is sent as a UDP packet over
I know that one of the differences between classes and structs is that struct
I know that exceptions have a performance penalty, and that it's generally more efficient
I know that one can define an 'expected' exception in JUnit, doing: @Test(expect=MyException.class) public
I know that this has already been asked here but the answer (using a
I have a script that scans ports for open proxy servers. Problem is if
Do you know a good code editor that supports the less syntax? I tried
For some time now I have been googling a lot to get to know
Ok I've been developing iphone-apps for over a year now, but there's this one
I have been assigned a project to develop a set of classes that act

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.