Re: How does a server know a client is trying to c - WeOnlyDo Discussion board

Re: How does a server know a client is trying to c (General questions)

by Chip, Thursday, November 13, 2008, 12:45 (5645 days ago) @ woddrazen

I understand that, but how does that help with hole punching through the firewall? Connect will fail if there is a firewall in the way. You need the mediator for hole punching . So client and server must call Search at roughly the same time, and then Connect. Without searching you aren't going to get through any firewalls.

I feel like I'm going around in circles here and getting nowhere fast [:sad:]

Let me try and spell it out so that it is as clear as can be:

- For hole punching through firewalls, you need to use a mediator. That means calling the Search method.

- For a server behind a firewall, the only way it can know a client is trying to contact it is to CONTINUALLY call the mediator (via Search).

Continually calling the mediator is going to be a huge strain on the mediator server if there are thousands of servers calling it all the time (add to that the calls from the clients).

I'm simply asking if there is a better way than servers continually calling Search?


Complete thread: