MSNP-Sharp Example fails to login, gives SocketException
Posted
by Nick Udell
on Stack Overflow
See other posts from Stack Overflow
or by Nick Udell
Published on 2010-04-17T22:15:43Z
Indexed on
2010/04/17
22:23 UTC
Read the original article
Hit count: 425
I've just downloaded the MSNP-Sharp library with the aim of creating my own messaging client, however I am struggling to get the example to sign in. The code all compiles and runs, but when I provide my login details and select "Login" I almost immediately get the following SocketException:
"No connection could be made because the target machine actively refused it 64.4.9.254:1863"
I've stepped through the code and it's the messenger.Connect() function that is causing this, somewhat obviously. When I run the example I only change the login and password details. I am running Windows 7 x86 with the latest version of Windows Live Messenger.
I have tried disabling my antivirus, even going as far as to temporarily uninstall it in case that was the error.
I have also tried disabling Windows Firewall, with no luck.
© Stack Overflow or respective owner