alexishughes / jabber-net

Automatically exported from code.google.com/p/jabber-net
Other
0 stars 0 forks source link

Even If I Set Port the Jabber is not using the port specified, it is trying to use its own. #111

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Address.LookupSRV((string)m_listener[Options.SRV_PREFIX], to, ref host, ref 
port);
2. Set Port = 80 in JabberClient Instance.
3.

What is the expected output? What do you see instead?
I expect to connect the messenger in port 80 but it still trying to connect via 
port 5222. 

I tried to debug this method and set the port to 80 in Lookup Method. Then the 
connect works in 80.

What version of the product are you using? On what operating system?
Latest Source Code, Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by harira...@gmail.com on 25 Mar 2011 at 10:39

GoogleCodeExporter commented 8 years ago
Works as designed.  If there is an SRV record, the port that comes from SRV is 
preferred.

Original comment by hil...@gmail.com on 28 Mar 2011 at 7:45