UDP Hole Punch?

Page 1 of 1

13 Replies - 938 Views - Last Post: 05 February 2012 - 10:33 AM Rate Topic: -----

#1 Waxy   User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 8
  • Joined: 04-February 12

UDP Hole Punch?

Posted 04 February 2012 - 07:36 AM

I've googled a lot for the "How To" but its kinda fuzzy to me.
So let me see if anyone can clarify this for me:

Game Server is UPnP enabled. works perfectly.
Client has no UPnP protocols on their router so it requires manual port settings.

currently i have:

Server starts, contacts master server via HTTP request and informs it "This is my port/ip/name/etc..."

Client
loads and makes an HTTP request to the master server and gets the serverlist, including our target server.

Server Listens on: <Server Customized>
Server Sends To: 45,000

Client Listens On: 45,000
Client Sends To: <Server customized>

Client does HTTP request to a master server to get the target server's IP and <ServerCustomized>port (working)

The client sends UDP request to the server join the server targeting <ServerCustomized> port. (working)

Server
hears the client request (working)
and replies to client listening port 45000 "yes you may join" (NOT working)

as far as i can tell, the server is sending it, but the client doesn't hear it.
(it's working fine on LAN, but on WAN the client doesn't hear the server acknowledge "Yes you may join")

to hole punch, do i just need to have the client send the initial join request on both
<ServerCustomized> port and the 45000 port to punch a hole?

Q: OMG! Why are you doing hole punching?
A:Because i've already found 2/3 testers that DON'T have upnp routers (eg: WANPPPConnection:1 or WANIPConnection:1).


PS:

Quote

#1 Waxy Icon User is online

New D.I.C Head


yo, admin, that's offensive.

OHHHH! i get it!
Dream. In. Code = DIC
where's the edit button? :offtopic:
(it's still not funny, though.)

Is This A Good Question/Topic? 0
  • +

Replies To: UDP Hole Punch?

#2 tlhIn`toq   User is offline

  • Xamarin Cert. Dev.
  • member icon

Reputation: 6538
  • View blog
  • Posts: 14,450
  • Joined: 02-June 10

Re: UDP Hole Punch?

Posted 04 February 2012 - 11:20 AM

View PostWaxy, on 04 February 2012 - 08:36 AM, said:

Quote

#1 Waxy Icon User is online

New D.I.C Head


yo, admin, that's offensive.

OHHHH! i get it!
Dream. In. Code = DIC
where's the edit button? :offtopic:
(it's still not funny, though.)




The following is one man's opinion and does not necessarily reflect the opinion of management or this broadcast station:


Really? You find a sense of humor in a site offensive?

You're in for a treat then with the core group of users. Most of us really don't care to spend our time blowing sunshine and rainbows up rookie skirts. If you say stupid stuff you might get made fun of... Oh no Mr. Bill... I hope that doesn't bruise your delicate nature. If it does, man up and grow a pair.

If you can't take being talked to frankly like a grown up, or part of a group of adults that don't limit themselves to rated-G Disney dialog then you might want to stick with just the Seseme Street and Hello Kitty sites.

Just one thread for an example, but I think you'll get the drift:
http://www.dreaminco...1&#entry1542734
Was This Post Helpful? 2
  • +
  • -

#3 Waxy   User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 8
  • Joined: 04-February 12

Re: UDP Hole Punch?

Posted 04 February 2012 - 04:20 PM

Your right!
How foolish of me!

I should be thrilled to be called a Dick Head before i even open my mouth!
:bananaman:

It not about G, PG, R, Etc; or frankness.
its about common courtesy and not calling you an asshole just for posting in this thread to whine and bitch about opinions because you didn't contribute to the main topic of UDP Hole Punching.

but if you insist then i can stoop to your level of banter:

suck my cha'dich
:)

Now that I've conformed to the local ethics and ethos, how about an ON topic thought regarding UDP Hole Punching?
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1   User is offline

  • Suitor #2
  • member icon



Reputation: 16480
  • View blog
  • Posts: 65,328
  • Joined: 12-June 08

Re: UDP Hole Punch?

Posted 04 February 2012 - 05:02 PM

Quote

I should be thrilled to be called a Dick Head before i even open my mouth!

To be fair no one called you a dickhead. An acronym with an mildly amusing alternate homophone is not something to get worked up over. Much like South Harmon Institute of Technology's new recruits tack on 'head' after their acronym. :)

Everyone be happy!
Was This Post Helpful? 2
  • +
  • -

#5 _HAWK_   User is offline

  • Master(Of Foo)
  • member icon

Reputation: 1162
  • View blog
  • Posts: 4,444
  • Joined: 02-July 08

Re: UDP Hole Punch?

Posted 04 February 2012 - 05:07 PM

Since were :offtopic: did you know there is a university named UTI -> Urinary-Tract-Infection - LOL!!!
Was This Post Helpful? 0
  • +
  • -

#6 trevster344   User is offline

  • The Peasant
  • member icon

Reputation: 225
  • View blog
  • Posts: 1,526
  • Joined: 16-March 11

Re: UDP Hole Punch?

Posted 04 February 2012 - 09:01 PM

View Post_HAWK_, on 04 February 2012 - 06:07 PM, said:

Since were :offtopic: did you know there is a university named UTI -> Urinary-Tract-Infection - LOL!!!


Rofl now I'll remember that one.

As for this whole thread, your original opinion I would consider trolling but alright. If you really want help why don't you try again without your opinion.

This post has been edited by trevster344: 04 February 2012 - 09:05 PM

Was This Post Helpful? 0
  • +
  • -

#7 Waxy   User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 8
  • Joined: 04-February 12

Re: UDP Hole Punch?

Posted 05 February 2012 - 06:50 AM

View Post_HAWK_, on 04 February 2012 - 06:07 PM, said:

Since were :offtopic: did you know there is a university named UTI -> Urinary-Tract-Infection - LOL!!!

I'm not interested in rationalization of bodily humor.
If I was interested in bodily humor then I would be in the general section or on a comedy forum.
If I was interested in the rationalization of body-humor then I would be on a philosophy forum.
I'm interested in UDP Hole Punching like the topic says.
The post was hijacked into off-topic because of two reasons:
1 - no edit button.
2 - tlhIn`toq got drunk on blood wine and decided to hijack a thread because he choose to neglect the fact that the forum has no edit button as i stated. (that ONE post that started the thread is actually THREE posts. One post plus 2 self-replies)

Yes, i see that some of you have edited your posts. but for me i do not see an edit button, as i stated in the first 3 posts that are condensed into one.

View Posttrevster344, on 04 February 2012 - 09:01 PM, said:

As for this whole thread, your original opinion I would consider trolling but alright. If you really want help why don't you try again without your opinion.


Double post just because the admins didn't code in an Edit Button for new members? (link)

I have a better idea, Trevster - How about since this forum only claims to be about coding but is actually concerned about the proper uses of the word Head as an adjective, acronyms for dick and shit, and infectious institutes - then go and find a forum that actually entertains concepts about coding theories and the propagation of knowledge.

And NO - my first post wasn't trolling. My first post, as stated above, was THREE posts that were automatically condensed by the forum into one post.

post 1:
About UDP Hole Punching, blah blah blah....
Post 2:
dude, that's offensive.
Post 3:
oh, i get it! but there's no edit button.

learn to read the damn post:

View PostWaxy, on 04 February 2012 - 07:36 AM, said:

OHHHH! i get it!
Dream. In. Code = DIC
where's the edit button? :offtopic:
(it's still not funny, though.)


So get off your high horse.

Later all. I'm going to go look for a coding forum website since this obviously isn't one.
Was This Post Helpful? -1
  • +
  • -

#8 trevster344   User is offline

  • The Peasant
  • member icon

Reputation: 225
  • View blog
  • Posts: 1,526
  • Joined: 16-March 11

Re: UDP Hole Punch?

Posted 05 February 2012 - 08:50 AM

So he comes here looking for help, places flame bait, gets flamed and because people don't feel like tolerating ignorance of a self centered child, he declares the website bad? Haha and I wonder how dream in code got it's reputation if it's so bad lol. Guess I'd do the same if I was publicly humiliated for not thinking about what I say before I say it. Good luck to you sir and may you find a more tolerating forum. Since this is so off topic I think the thread should be moved to the lounge, so that we can discuss how clever D.I.C. Heads really are. :D

This post has been edited by trevster344: 05 February 2012 - 08:52 AM

Was This Post Helpful? 1
  • +
  • -

#9 nK0de   User is offline

  • Catch me As Exception
  • member icon

Reputation: 206
  • View blog
  • Posts: 823
  • Joined: 21-December 11

Re: UDP Hole Punch?

Posted 05 February 2012 - 09:22 AM

hahah...I just love it when an occasional asshole barges in, starts a flame war, fuck around for a while and then disappears. I haven't been here for a long time but I've seen a couple of them and its quite entertaining.

and Waxy get your shit together. Learn how to behave and communicate with people in an online forum first. Just becasue you don't know how to ask a question professionally, don't blame the site and the people for making you look an idiot.
Was This Post Helpful? 1
  • +
  • -

#10 tlhIn`toq   User is offline

  • Xamarin Cert. Dev.
  • member icon

Reputation: 6538
  • View blog
  • Posts: 14,450
  • Joined: 02-June 10

Re: UDP Hole Punch?

Posted 05 February 2012 - 10:11 AM

Does everyone using Mozilla Firefox see all this communication stuff as part of looking at this site? or is that an option the OP turned on for some odd reason?

Attached Image
Was This Post Helpful? 1
  • +
  • -

#11 Waxy   User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 8
  • Joined: 04-February 12

Re: UDP Hole Punch?

Posted 05 February 2012 - 10:17 AM

the yellow highlighted?
thats my question that you all started flaming me for.
for my web view see screenshot link in post 7.
Was This Post Helpful? 0
  • +
  • -

#12 tlhIn`toq   User is offline

  • Xamarin Cert. Dev.
  • member icon

Reputation: 6538
  • View blog
  • Posts: 14,450
  • Joined: 02-June 10

Re: UDP Hole Punch?

Posted 05 February 2012 - 10:22 AM

View PostnK0de, on 05 February 2012 - 10:22 AM, said:

hahah...I just love it when an occasional asshole barges in, starts a flame war, fuck around for a while and then disappears.


Its not just forums though. It seems to be very common for others to tell established groups what they should do. Large groups for the betterment of television try to tell the industry there should be no swearing, rather than just change the channel. New employees try to tell a company that's been around 50 years how they should be doing business. Immigrants fleeing their impoverished country try to tell the USA to change to be more like the land they left. Newbies to this site try to change it after a day. People who don't like guns tell others not to carry.

I don't go around protesting churches just because I don't believe in your mythology.
I don't go around advocating retro-active abortion because you're an idiot.
I don't go around protesting smokers for being a drain on medical resources.
Should I protest game consoles because *I* don't see their value?
Should I protest cameras because I don't want my picture taken unknowingly (only cops need cameras) ?

My answer to them all is: If you don't like it where you are then go back where you came from.

If you don't like your employer, go find another one.
If you don't like the USA as-is, go home.
If you don't like that tv show, go back to ABC-Family.
If you don't like guns, don't buy one.
If you don't like this site, build your own so you can run it as you like.
Was This Post Helpful? 0
  • +
  • -

#13 Waxy   User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 8
  • Joined: 04-February 12

Re: UDP Hole Punch?

Posted 05 February 2012 - 10:30 AM

actually, the first flame came from you tlhIn`to.
at no time in my first post did i flame anyone.

3 combined posts.
combined into one post automatically by the forum.
as you see from my screen shot, there is no undo to of corrected the post.

post 1: question.
post 2: forum insults me just for being a newbie?
post 3: ihhhh D.I.Code! i get it! but there is no edit button.
Was This Post Helpful? 0
  • +
  • -

#14 smohd   User is offline

  • Critical Section
  • member icon


Reputation: 1825
  • View blog
  • Posts: 4,627
  • Joined: 14-March 10

Re: UDP Hole Punch?

Posted 05 February 2012 - 10:33 AM

*
POPULAR

Ok now lets end this discussion here, it is enough and I am going to close this thread.
And to all take this as a FORMAL ANNOUNCEMENT:
Please stop off topic posts in programming discussions and try the best to be on topic with proper replies

@Waxy and others: Note the followings:
- You cant edit your post, the reason is here

- D.I.C stands for Dream In Code

- Always please follow our rules, dont post non sense or offensive replies in threads and always use good words.

- You are free to open another thread following all the rules and show what you have tried. Dont restart this flame war again in your next thread.
->Explain your problem
->Show any effort which you have done
->Use good language and stop offensive words

- If you have any question about this, feel free to PM me or any other Moderator.

Thanks, *Topic Closed*

This post has been edited by smohd: 05 February 2012 - 10:33 AM

Was This Post Helpful? 6
  • +
  • -

Page 1 of 1