[JDEV] Diffs for changes to jabberd

Thomas Charron tcharron at ductape.net
Tue Sep 19 13:43:14 CDT 2000


  I just made these changes to pthsock_server and pthsock_client, and here's 
the cvs diff for the pthsock directory.  These changes where to fix a spelling 
mistake in pthsock_client, and to add to the capability of pthsock_server to 
listen and connect to nonstandard ports.  In my case, I'm monkeying with 
jabberd on the same machine as jserver is running, so I had to ensure different 
port usage.  This patch gives the ability to basically tell the server to 
listen on, and connect to, other ports beside's 5269.  In my case, 6269.

  As part of this, the pthsock_serv needs to look like this:

  <service id="pthsock server to server manager">
    <host/>
    <load><pthsock_server>./pthsock/pthsock_server.so</pthsock_server></load>
    <pthssock xmlns='jabberd:pth-ssock:config'>
      <listen>6269</listen>
    </pthssock>
  </service>

  Notice the addition of a pthsock configuration section, including a listen 
parameter.  ;-P

--- 
Thomas Charron
<< Wanted: One decent sig >>
<< Preferably litle used  >>
<< and stored in garage.  ?>>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pthdiff.txt
URL: <https://www.jabber.org/jdev/attachments/20000919/c38a952a/attachment-0002.txt>


More information about the JDev mailing list