[JDEV] user IP

Matthias Wimmer m at tthias.net
Wed Dec 17 06:04:43 CST 2003


Hi Mohmad!

mohmad schrieb am 2003-12-17 13:49:24:
> How can I get user's IP from jsm/modules/mod_*.c ?

This is currently not possible as the connections are handled by a
different component (pthsock-client for standard jabberd 1.4.x or jadc2s
if you have installed this additional component).

If you need access to the IP address or other connection related
information, you have to enhance the client connection manager to
forward this information to other components.

As the session manager (jsm) and the client connection manager can
possibly run on different servers, you don't have direct access to the
variables of the client connection manager from within the session
manager.


Tot kijk
    Matthias

-- 
Fon: +49-(0)70 0770 07770       http://matthias.wimmer.name/
HAM: DB1MW                      xmpp:mawis at charente.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://www.jabber.org/jdev/attachments/20031217/17a1d8f8/attachment-0002.pgp>


More information about the JDev mailing list