NetTalk Central

Author Topic: GetServers erratic response?  (Read 3316 times)

lanmicro

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • Email
GetServers erratic response?
« on: February 23, 2011, 10:00:47 AM »
Hi Guys,

Earlier I thought I had resolved a problem w/ GetServers not returning all available servers by installing Hamachi.  This turns out to be not true.  Intermittently GetServers will not return all Servers on the network. 

What might be the problem?  If GetServers is not returning all of the Servers I cannot update the servers that are not in the list.  If GetServers is not returning the Servername of a known Server how can I send something to that server?

Even if I had a known list of servers (not dependant on GetServers) would I still get an error when attempting to send something to a Server that GetServer couldn't return?
Gregory C. Bailey

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: GetServers erratic response?
« Reply #1 on: February 24, 2011, 12:02:49 AM »
Hi Greg,

>> What might be the problem?

no idea. Can you duplicate the problem in an example?

Cheers
Bruce

lanmicro

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • Email
Re: GetServers erratic response?
« Reply #2 on: February 26, 2011, 09:31:18 AM »
Hi Bruce,

No.  This does not happen in captivity.  Only in the wild.

Let me run some assumptions by you.

1.  Servers announce themselves to the world.
2.  GetServers() listens for these announcements.
3.  If a lot of work is being done then the announcements might get farther apart.
4.  If GetServers() is listening but the Server is not sending at that time then they get out of sync.

If the above could be true then what method could I use to send announcements more frequently on a thread that just does that?
Gregory C. Bailey