I defined 2 servers with the same host name, but 2 differents
addresses into my WINDOWS\SYSTEM32\drivers\etc\hosts file.
If a server fails my exchanges are routed on the second server.
This system is known as "round robin". Is it implemented into (I use
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.23) Gecko/
20090825 SeaMonkey/1.1.18).
Round robin was implmeented into the Apache HttpClient's class. It was
just done as
- getting an array with all adresses defined with the same server name
into the hosts file.
- creating a socket for each adress . If it fails, try with the next
otherwise return the socket.
If it exists, is it the same implementation... I looked into netwerk,
nsSocket , nsSocketTransportService, nsSocketProviderService... But I
didn't fail anything regarding round robin.
Could someone help me
thank's a lot
philippe
_______________________________________________
dev-embedding mailing list
dev-embedding@...
https://lists.mozilla.org/listinfo/dev-embedding