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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:36:19+00:00 2026-06-04T12:36:19+00:00

I’ve read a lot on this subject, including a lot on SO. So while

  • 0

I’ve read a lot on this subject, including a lot on SO. So while not exactly a programming question, hopefully ok to ask here. I am a programmer and building an app that includes voice chat, if that helps.

I’m trying to understand how UDP forwarding works through a NAT, specifically for systems like Skype and Google Talk voice chat (VOIP).

I thought the only way a router could correctly route UDP traffic was if the reply came back from the same IP/port combo that it sent a packet to. Or in other words, the client can’t get a UDP packet from a server unless it first sends one, otherwise the router has no idea which client to send the packet to.

So if I understand correctly, services like Skype and Google Talk do some initial setup to help peers locate each other, but after that the communication becomes peer to peer. How can the first packet from a client ever get directly to the other client if the router isn’t expecting any traffic from the client’s IP?

  • 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-06-04T12:36:20+00:00Added an answer on June 4, 2026 at 12:36 pm

    I’m studying it, because I’m making a game (university work) P2P.

    1 How does NAT?
    When a client makes a request, the NAT forwards available through a door (note that this port is independent of the port on the computer that sent it), and changes the source ip to your ip (public IP of the router). Now comes the magic: It stores a table in the ip and port associated with that request and the door of the route he used to send the message. So when the router receives a request, it looks and what is the door and the table to see who should send the request, regardless of ip or port that made it.

    2 How do I configure NAT for a “remote client”?
    Impossible. But the client can set up “your” NAT indirectly. It is necessary a server to mediate the initiation of the connection.
    * Client1 cliente2 and connects to the server, the server sends to the client1 ip and port (NAT) of cliente2.
    * The client1 now have the data to connect to cliente2, and so he sends the same connection to the server, receives the data cliente2 identically to the data server.

    Note1: TCP does not work for reasons obvious, ie must be UDP.
    Note2: How long the data is in the NAT table, how to prevent “timeout”? Good question, as I said I’m studying studying it lol, if anyone knows put at here.

    Felippi CM

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I need to clean up various Word 'smart' characters in user input, including but
Does anyone know how can I replace this 2 symbol below from the string
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out

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.