[jdev] Nad....

Remy HAREL remy.harel at GICM.FR
Fri Jul 16 10:02:40 CDT 2004


   Hi all,


I'm working on router component, and those kind of data are 
interesteding me :

<route xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' to='c2s' 
from='jabber.gicm.net' Seq:='db93e84c6f2
09da33c7c1c56645fe4c0:2'><message xmlns='jabber:client' 
xmlns:sm='http://jabberd.jabberstudio.org/ns/session/1.0' 
to='rem at jabber.gicm.net/Gabber' type='chat' 
from='rem2 at jabber.gicm.net/Gabber' sm:c2s='7' 
sm:sm='4d93ce68dba15fe9aaa97ff98d687aed48a4dc4c'><body>test8</body></message></route>

 My wish is to sent the result to a socket communication...

  I'm still looking for a function that would return a char* conversion 
of the datas in the nad, or a way to use it with snprintf for example. 
Something like that :

snprintf( fd_nad, size_of( func(nad) ) ,"%s\n",  func(nad)  );


Is it possible or is there another way to do that ?

Best regards, good week end.

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