Receiving XML messages through a TCP or UDP port

Hi,

I’m trying to integrate into a legacy application that sends out XML
messages over TCP or UDP. Are there any plugins I can leverage to
help me accomplish this?