Caching
Doing that full process is 3 connections, it is possible to skip the 1st dispatch server altogether, but, it is not recommend that it be hard coded, as the Passport authentication system may change. The server it redirects to can be cached so it can go straight to it. If it fails, the client should do the full process again and get the new server that may have changed.
The 2nd dispatch only redirects if it is a @hotmail.com or @msn.com sign in name, if it’s not, then the 2nd dispatch is the authentication server. At the time of writing this, @msn.com it will redirect to msnialogin.passport.com and @hotmail.com redirects to loginnet.passport.com. So it is possible to hard code those as well, just check what kind of sign in name it is.
View: MrSquids forum post at Hypothetic.org
View: MrSquids forum post at msnfanatic
View: MSDN: Passport Authentication in WinHTTP
View: A Foundation for a VB Client (MSNP8) (No WinInet)
View: Miranda's Impementation for MSNP8 on CVS (C++)
Please a want to use the msn!! Are veru important!!
;@~
Do you have a example for download ? thx!