[NTLUG:Discuss] Re: OT sending and receiving XML on a UNIX server
tr_data1
tr_data1 at ev1.net
Wed Sep 21 07:47:34 CDT 2005
> What is required to send, and receive, an XML message?
The basics is pretty simple.
1) open a socket (w/ ip and port) from client to server
2) client sends a message containing the XML request text
3) server sends back XML response text
4) close socket
It's all printable text. The client code can be as simple as using
string functions to look for the XML label/value you are interested
in. For one project, I was only interested in one value out of
dozens of XML lines. Of course, there are various XML parsers
available. Kinda overkill for just 1-2 values, IMO.
=TR=
More information about the Discuss
mailing list