• 0

[vb.net] MSNP11


Question

Hey,

I am trying to make my own MSN client based on MSNP11 (official client 7.0). I have got to the bit where I get a logon ticket (nexus.passport.com)

I get my DALogin going to "login.live.com". I connect and send but get nothing back....

I get back (from nexus)

HTTP/1.0 200 OK
Date: Thu, 21 Dec 2006 17:47:12 GMT
Content-Length: 0
Content-Type: text/html
Cache-Control: private
Server: Microsoft-IIS/6.0
PPServer: PPV: 30 H: BAYPPPRTS2A01 V: 0
X-Powered-By: ASP.NET
PassportURLs: DARealm=Passport.Net,DALogin=login.live.com/login2.srf,DAReg=https://accountservices.passport.net/UIXP
Wiz.srf,Properties=https://accountservices.msn.com/editprof.srf,Privacy=https://accountservices.passport.n
et/PPPrivacyStatement.srf,GeneralRedir=http://nexusrdr.passport.com/redir.asp,Help=https://accountservic
es.passport.net,ConfigVersion=14

NB: i added the linebreaks after PassportURLs: to make it fit on the page better (the actual message has that as one line)

So i send (this is in VB.net. TWN being winsock)

			twn.SendData("GET /login2.srf HTTP/1.1" & vbCrLf)
			twn.SendData("Authorization: Passport1.4 OrgVerb=GET,OrgURL=http%3A%2F%2Fmessenger%2Emsn%2Ecom,sign-in=" & encode(user.Text) & ",pwd=" & encode(pass.Text) & "," & ticket)
			twn.SendData("Host: " & twn.RemoteHost & vbCrLf)

.

Any ideas what i am doing wrong.

Thanks

Simsie

Link to comment
https://www.neowin.net/forum/topic/523476-vbnet-msnp11/
Share on other sites

3 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.