[jdev] recipient of a packet

Remy HAREL remy.harel at GICM.FR
Mon May 24 05:07:40 CDT 2004


   Hi all,

  I'm looking for the full jid of the recipient of a packet, in c2s 
module.Can I determine it by using this command :

 tmp = nad_find_attr ( nad, 0, -1, "to", NULL )

But this will return an integer, will not ? I'd prefer a char* because 
the full jid is a char*. Is it the good way to get the full jid of the 
recipient of a packet or is there a better solution ( need in c2s.c ) ?

  Thanks, 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