mIRC Homepage
Posted By: GreyStar ScoketsPutty login script - 06/09/10 12:41 AM

Is it possible to use scokets to login using putty then preform ./whatever ?

Posted By: FroggieDaFrog Re: ScoketsPutty login script - 06/09/10 01:07 AM
using putty? putty is a program for using the telnet/ftp protocol. If a program u have can connect to it, via an internet/intranet connection, then mIRC can do it. The hard part is figuring out what to send, when to send it, and how to inturpet the data that is read.
Posted By: GreyStar Re: ScoketsPutty login script - 06/09/10 01:25 AM
Yes, Im new to the socket stuff so this is going to be a challenge.

Situation: On a irc shell there is a process that creates/updates a channel list for our Java and Webtv users. At times this process hangs up. So I have to login to the shell and issue a ./restart to restart it.

Goal: when the process hangs up, login to the shell, invoke the ./restart

Note: I have a socket routine now that check the a 'Last update' line in channels.php. This will tell me if the procces has hung up.
© mIRC Discussion Forums