So does this mean if we want to show up "earlier" in server refreshes by
clients, we should have an IP address that sorts towards the top of a
hash_map? :)

---
Andrew A. Chen
Divo Networks

On Sun, 8 Feb 2004, Alfred wrote:

> The servers are stored in a stl::hash_map with the key being the struct
> sockaddr structure. This results in the ordering of the returned entries
> (as we simply iterate the map :)
>
> - Alfred
>
> Terry wrote:
>
> > I never would have noticed if I didn't start stuffing things into a
> > hashtable.
> >
> > Also, just curious Alfed, I noticed that the IPs that come back are
> > sorted by the class D portion of the server's IP.  For example, all the
> > "x.x.x.0" IPs come first, then "x.x.x.1" then, "x.x.x.2", then 3, 4, 5,
> > all the way up to "x.x.x.254".
> >
> > Any particular reason they're returned in that order?
> >
> >
> >     -----Original Message-----
> >     *From:* [EMAIL PROTECTED]
> >     [mailto:[EMAIL PROTECTED] Behalf Of
> >     *Jonathan Molyneux
> >     *Sent:* Sunday, February 08, 2004 5:54 PM
> >     *To:* [EMAIL PROTECTED]
> >     *Subject:* Re: [hlds_apps] Steam Master server duplicate IPs
> >
> >     You had be worried for a tic :P
> >
> >     That ip is owned by myself
> >
> >     And I have been having some issues with 64 / 32 bit userspaces with
> >     dod and ns :P
> >
> >     And thats the ip:port of the dod server
> >
> >     Anyways resolved
> >
> > Regards
> >
> > Jonathan Molyneux
> >
> > Head Unix Administrator &
> > National Network Director
> > Australian Pro Gaming
> > http://www.progaming.com.au/
> >
> > Head Network Administrator
> > Leecom Technologies Pty. Ltd. t/a Web Lounge
> > http://www.weblounge.net.au
> >
> > [EMAIL PROTECTED]
> >
> >
> >
> >     Alfred Reynolds wrote:
> >
> >>     There is a bug in one of our master servers (causing this multiple
> >>     reporting of servers problem). The server has been restarted to
> >>     reset its server listings. A fix is in the works.
> >>
> >>         ------------------------------------------------------------------------
> >>         *From:* [EMAIL PROTECTED]
> >>         [mailto:[EMAIL PROTECTED] *On Behalf Of
> >>         *Kris
> >>         *Sent:* Sunday, February 08, 2004 12:36 PM
> >>         *To:* [EMAIL PROTECTED]
> >>         *Subject:* Re: [hlds_apps] Steam Master server duplicate IPs
> >>
> >>         I too am noticing this behavior.
> >>
> >>         Kris.
> >>
> >>         At 17:13 08/02/2004, you wrote:
> >>
> >>>         I just ran into something with the Steam master server that
> >>>         seemed like it
> >>>         could be a problem.  I received the exact same IP:port twice
> >>>         in response to
> >>>         a query for "dod" servers.
> >>>
> >>>         In this instance I got 1288 IPs.  Here's a dump of my log as
> >>>         the IPs are
> >>>         being parsed.  Is this an expected thing, e.g. if a server
> >>>         crashes and
> >>>         starts back up again?  I can certainly deal with it in my
> >>>         app, but I thought
> >>>         I'd pass on the info in case this is not supposed to happen.
> >>
> >>         Author of the excellent K-query. : www.kquery.com
> >>         <http://www.kquery.com/>
> >>              ___
> >>             /__/|
> >>            |  |:|
> >>            |  |:|
> >>          __|  |:|
> >>         /__/\_|:|____
> >>         \  \:\/:::::/
> >>          \  \::/~~~~
> >>           \  \:\
> >>            \  \:\
> >>             \__\/
> >>
> >     _______________________________________________ hlds_apps mailing
> >     list [EMAIL PROTECTED]
> >     http://list.valvesoftware.com/mailman/listinfo/hlds_apps
>
> _______________________________________________
> hlds_apps mailing list
> [EMAIL PROTECTED]
> http://list.valvesoftware.com/mailman/listinfo/hlds_apps
>

_______________________________________________
hlds_apps mailing list
[EMAIL PROTECTED]
http://list.valvesoftware.com/mailman/listinfo/hlds_apps

Reply via email to