parsing different xml messages

Stefan Behnel stefan_ml at behnel.de
Tue Jul 27 06:30:48 EDT 2010


kaklis at gmail.com, 27.07.2010 12:17:
> I receive the following different Xml Messages from a socket:

 From a bare socket? TCP? UDP? Or what else?


> Which is the best way to make a distinction between them so that every
> time my app receives the one or the other, parse them correctly?

Use an application level protocol?

Stefan




More information about the Python-list mailing list