How to connect Unity and a different program via a LAN?

Hi! I’m looking for the easiest way to connect a program such “Processing”, OpenFrameworks or Pandoras Box via a LAN. I have deeply searched how to doing that with the Network class of Unity, however that seems to be orientated in other direction, specifically this method only permits to connect different Unity games. I dont need to do anything complicated, just send and read string from one of these programs and my game in Unity. Thank for any help

You’ll want to use Sockets: