Let me try to make my question a little more clearer, because I didn't explain it very well initially.
'jazz.logicware.com:10055' when opened with telnet returns some lines of plain text, and then closes the connection. I want to ultimatly have a script that will act like that server, but also once somebody opens that port, the script will read from the original (eg. logicware) server, and forward that text on to the user.
And since I am obviously new at this, I would just like to know how to do those two functions seperatly so that I could learn how to do more with this stuff.