Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
sirmansoor #1
Member since Sep 2005 · 8 posts
Group memberships: Members
Show profile · Link to this post
Subject: connection with proxy settings
I connect to the internet using a proxy server.  So what changes are required in the program or tcp connection. Because it failed completely in this scenario.
p.s. I also tried with dialup and it works fine with dialup
Mansoor Sarfraz
Avatar
sirmansoor #2
Member since Sep 2005 · 8 posts
Group memberships: Members
Show profile · Link to this post
To make my question more clear...
How can I create a socket to a jabber server if my client is behind a proxy server? Is there any built-in proxy server support in agsxmpp assembly or C# .net?
Mansoor Sarfraz
Avatar
Alex #3
Member since Feb 2003 · 4447 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
hi sirmansoor,

currently the library has no proxy support. It would also depend which kind of proxy server you are using. If you use socks4 or socks5 then it would be easy to implement a socks library in the ClientSocket class.
For example the mentalis library which works great
http://www.mentalis.org/soft/class.qpx?id=9

If you are using a http proxy which supports no persitant connections (tunneling), then the only way is to implement JEP-0025 Jabber HTTP Polling
http://www.jabber.org/jeps/jep-0025.html
which also would need a server that supports this JEP.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS