help with subscription to a process

E

elrondrules

Hi

I am new to python and hence need some help

i have a process A that posts events as XML docs.
I need to create a listener to this process that subscribes to the
process A and as and when a XML doc is posted parse it.
I have creted an interface where if I specify the port number on which
the listener is running the process A will automatically start posting
events.

The place I need help is to create a listener and a way of parsing the
XML docs. If you can give me some starting points or docs/resources
that will be great..

Thanks
 
P

Paul Hummer

The Python socket module, although lightweight, can be used to quickly
establish a socket between client and server for the purpose of feeding
data. I've done this once or twice with XML. If you are looking for
something a bit more robust, might I suggest reading up on the Twisted
libraries?

Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,269
Latest member
vinaykumar_nevatia23

Latest Threads

Top