What steps will reproduce the problem?
1. Set ProxyHost, ProxyPort, and ProxyType of ConnectivitySettings on your
MSNPSharp.Messenger object. (Beware, ProxyType should not be ProxyType.None.)
2. Invoke messenger.Connect() to connected.
3. Now, you can see any further connection through switchboard or transfer
stucks.
What is the expected output? What do you see instead?
Step 3. should works properly.
What version of the product are you using? (MSNPSharp, OS, Mono etc.)
Both of 3.0.2 and 3.1.2 beta don't work. Windows 7, .NET 3.5
Is your code check out from SVN or download from our download site?
download from site.
Please provide any additional information below:
Actually I fixed that problem locally for 3.0.2. Problem was simple. Whenever I
set connectivity settings on messenger object, it doesn't spread to other
message handler classes. For example, NSMessageHandler has SBMessageProcessor
object initialized by default constructor. It should filled with
Messenger.ConnectivitySettings. See below:
Use
new SBMessageProcessor() { ConnectivitySettings = new ConnectivitySettings(ConnectivitySettings) };
instead of
new SBMessageProcessor();
For my project, I used only switchboard feature so that's enough but I know it
doesn't cover every case on MSNPSharp connectivity problem. I wish further
version get this bug fixed.
Original issue reported on code.google.com by tcae...@gmail.com on 8 Jun 2010 at 11:19
Original issue reported on code.google.com by
tcae...@gmail.com
on 8 Jun 2010 at 11:19