I need to create a TELNET application to automate tasks in a legacy
system
does anyone have any experience with this.

I have looked into CFX_JSocket but you must specify the number of lines
to return. since the number of lines will dramatically vary based on
commands this will not work.

I am thinking of the new Socket Event Gateway but the enterprise
version of CFMX7 is out of our budget

any help/resources would be great