| |
|
|
| |
Conferences
|
|
| |
|
|
|
|   |
| Below are the conferences currently available to the Coversant Developer Community. As the community grows, so will these conference rooms. If you'd like to see additional conferences added, please let us know through the forums. Thanks. |
| |
Coversant Developer Community SoapBox (developers@conference.coversant.net)
|
This is a open conference room where developers are welcome to discuss all things XMPP and software development based on the SoapBox Platform. Use your favorite XMPP client, and join the Coversant Developer Community SoapBox at developers@conference.coversant.net. |
| |
| Don't have a client? Just download SoapBox Communicator 2005. |
|
|
|
| |
Forums
|
|
| |
|
|
|
|   |
| You are not authorized to post a reply.
|
|
| Author |
Messages |
|
Sanjay Tank Posts:1
 |
| 07/22/2008 11:44 PM |
Alert
|
Hi, I am using Coversant.SoapBox dlls for my chatting client created in C#. But when I use proxy to connect with the server, it gives me following error. Message: "A socket operation was attempted to an unreachable host" StackTrace: " at Coversant.SoapBox.Core.Session.EndLogin(IAsyncResult ar)\r\n at Coversant.SoapBox.Core.Session.Login(String username, String password, String resource, Boolean enableNonSASLAuth, ConnectionOptions options)\r\n at RemoteClient.Jabber.InitializeSessionManager(String userName, String password, String serverName) in D:\\Sanjay\\Projects\\RemoteAdmin\\RemoteClient\\Jabber.cs:line 148" Here I am submitting my code for the login: Code: JabberID jd = new JabberID(userName);//, AppController.Resource); ConnectionOptions opts; try { opts = new ConnectionOptions(serverName, jd.Server); opts.Port = port; if (useSSL) opts.SecureProtocol = Coversant.Net.Security.SupportedSecureProtocol.Ssl3; else opts.SecureProtocol = Coversant.Net.Security.SupportedSecureProtocol.None; } catch (Exception) { } if (useProxy) { //we are using HTTP Proxy :blush: opts.ProxyEndpoint = new System.Net.IPEndPoint(System.Net.IPAddress.Parse(proxyIp), int.Parse(proxyPort)); if (ProxyAuthorizationRequired) { opts.ProxyUserName = proxyUser; opts.ProxyPassword = proxyPassword; } } for (int iTry = 0; iTry < 2; iTry++) { try { //Following sentence generates error: :sick: Session session = Session.Login(jd.UserName, password, "work", true, opts); m_sessionMgr = new SessionManager(session); m_currentUser = jd; break; } catch (Exception ex) { if (iTry > 0) throw ex; } |
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.6
|
|
|
|
|
|
|
|
|