[jdev] _c2s_client_sx_callback
Remy HAREL
remy.harel at GICM.FR
Thu Jun 10 05:20:45 CDT 2004
Hi folks,
I'm working in c2s component. Now, I'm able to know the recipient of
a packet now ( thanks to Mathias Wimmer ;) ) but sometimes, when the
recipient is me, I'd like to know the full jabber id which has sent it
to me . So I use the same method for the two functions calls :
attr1 = nad_find_attr(nad, 0, -1, "from", NULL);
attr = nad_find_attr(nad, 0, -1, "to", NULL);
The second works fine, but the first one returns -1, so it failed. Why
I can't do that please ?
( c2s component, c2s.c , function _c2s_client_sx_callback )
best regards,
--
Remy Harel - remy.harel at gicm.fr
G.I.C.M - Distributed Systems & IT
Linux Registered User #224740
More information about the JDev
mailing list