Subject: SocketException was unhandled by user code
Hello Alex,
I downloaded the MatriX SDK and ran the sample to get an idea as to what is involved. I also run an Openfire Jabber server and your sample policy server. First question I have is whether I need a license key to run the SDK? If so, is there a trial key I can get? As soon as I try to add a user to the roster I get the socket exception below. Any ideas?
Alex Parnes
Cooper Industries
System.Net.Sockets.SocketException was unhandled by user code
Message="[net_winsock_10057]\r\nArguments:\r\nDebugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=…"
ErrorCode=10057
StackTrace:
at Matrix.Net.ClientSocket.Send(Byte[] data)
at Matrix.XmppStream.SendData(String xml)
at Matrix.XmppStream.Send(XmppXElement el)
at Matrix.Xmpp.Roster.RosterManager.Send(XmppXElement el)
at Matrix.Xmpp.Roster.RosterManager.AddRosterItem(Jid jid, String nickname, String[] group)
at Matrix.Xmpp.Roster.RosterManager.AddRosterItem(Jid jid, String nickname)
at SilverLightClient.AddContact.cmdAdd_Click(Object sender, RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
InnerException:
I downloaded the MatriX SDK and ran the sample to get an idea as to what is involved. I also run an Openfire Jabber server and your sample policy server. First question I have is whether I need a license key to run the SDK? If so, is there a trial key I can get? As soon as I try to add a user to the roster I get the socket exception below. Any ideas?
Alex Parnes
Cooper Industries
System.Net.Sockets.SocketException was unhandled by user code
Message="[net_winsock_10057]\r\nArguments:\r\nDebugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=…"
ErrorCode=10057
StackTrace:
at Matrix.Net.ClientSocket.Send(Byte[] data)
at Matrix.XmppStream.SendData(String xml)
at Matrix.XmppStream.Send(XmppXElement el)
at Matrix.Xmpp.Roster.RosterManager.Send(XmppXElement el)
at Matrix.Xmpp.Roster.RosterManager.AddRosterItem(Jid jid, String nickname, String[] group)
at Matrix.Xmpp.Roster.RosterManager.AddRosterItem(Jid jid, String nickname)
at SilverLightClient.AddContact.cmdAdd_Click(Object sender, RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
InnerException: