Well fsockopen() will only allow the connection that transports the data.
If you got that far than you're through with fsockopen() and you'll need other tricks to complete the task.
Is Southware a "fullscreen app" that constantly maintains a nice window for you to work in (a sort of interactive menu/shell)? Or is it a scrolling application that just adds its output to the bottom of the screen (a la the mysql client)?
In the former case you've got a more difficult problem than in the latter case.
Perhaps if you told us how far you've come with fsockopen() we could help further.
If you're unsure if Southware is giving you trouble try connecting to a regular telnet server that should just give you plain text responses. (tip: connecting to a pop3 mailserver should also work as it works with clear text commands/responses, but be sure to do no damage and consult the sysadmin first).
Disclaimer: I've never attempted such a task before, but I'm pretty sure this is how it should be done.
__________________
"Do not kill. Do not rape. Do not steal. These are principles which every man of every faith can embrace. "
- Murphy MacManus (Boondock Saints)
|