From: Kexiao L. <li...@cp...> - 2003-02-10 21:55:38
|
Dear XMLTK Team, I have implemented a udp server and a udp client (through C programming language under Red Hat 8.0/Sun OS). The udp client can read arbitrary xml files which located on the udp server through the socket by using UDP protocol. Udp client reads from the socket and writes the content of xml file to the standard output. Then I use pipe to send the xml file to the xmltk commands (e.g. xrun). It works perfectly. During the test, I sent total 280MB xml data between the two Unix machines(one is Sun Solaris another Linux Red hat 8.0). The two machines are located on the two different network segments. I am thinking about writing some kinds of xtransmit class for the xmltk, so that user can choose to read xml data from socket. For example a class like ISocketStream, and a method CreateSocketStream(), so that the xmltk can use this class to read from the socket through the tcp/udp protocol. However, I think I may need some help from your guys for the future work, since I need to understand the some important xmltk libraries classes (like the class CFileStream class) in order to implement ISocketStream class. Please let me know your opinions. Thanks. Kexiao |