[jdev] Hints about the resolver
Ivan Santarelli
ivan.santarelli at students.cefriel.it
Tue May 17 11:57:17 CDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> More particular I think you need to look at:
>
> static void _router_process_route(component_t comp, nad_t nad) in
> router/router.c of the source-code.
It helped, thanks.
> Maybe you want to do that elsewhere, or maybe you even want to write
> your own component that can connect to the router and be default route
> before it sends stuff back to the s2s component?
This seems to be interesting, do you know where can I find some
documentation about writing components?
>
> If you explain a bit more about what you want to do the answers you
> get might be better.
>
The resolution must be take in mind the jid, not only the domain part. I
thought it could be hacked in the s2s component, because the pkt
structure defined in pkt.c has many fields like rto, rfrom, to and from.
Unfortunally I saw that s2s.h redefined that structure and that only the
domain field is passed to s2s component.
Perhaps I can navigate through the nad to extract the to and from
fields... going to investigate...
Thanks again,
Ivan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCiiJseoqcljMWsKoRAvSZAKCU5LvW4R4dgaOXkcy3wxLnDA92EwCcCBYv
VQnpoqWjcV+VDe4nR+yAjPY=
=1HT4
-----END PGP SIGNATURE-----
More information about the JDev
mailing list