Rakon said:
To accomplish such a task, you'd be better off writing a small proxy for your localhost, for MUSHclient to connect to.
Onoitsu2 said:
create a listening socket on local host, and then do a Run() and parse the file itself into it
Twisol said:
UdpListen() to listen for UDP packets to execute, and UdpSend() to transmit the ouput elsewhere.
So yea, i'm working on the proxy. I'm trying to script it with netcat. The console aim client is bsflite, the win32 binary is a little weird as redirection doesn't redirect stdin, but the linux version works correctly. So I have cygwin, bash, netcat, and bsflite installed and I'm now working out a script that will listen on a port and pipe to bsflite. I'm having the same problem as I did last time with netcat in that I can only pipe one way. So I'm reading help files and tutorials and trying to figure out how to do something like
bsflite | nc -l -p 3000 - That pipes the client's output to port 3000
and i can telnet in and see it, but anything i send goes to bash's stdout, not the client's. So I need to do something like
nc -l -p 3000 | bsflite | nc localhost (port that i'm connecting to 3000 with)
Well thats what i'm working on anyway |