mIRC Home    About    Download    Register    News    Help

Print Thread
ScoketsPutty login script #225598 06/09/10 12:41 AM
Joined: Aug 2010
Posts: 11
G
GreyStar Offline OP
Pikka bird
OP Offline
Pikka bird
G
Joined: Aug 2010
Posts: 11

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


Re: ScoketsPutty login script [Re: GreyStar] #225599 06/09/10 01:07 AM
Joined: Apr 2010
Posts: 923
F
FroggieDaFrog Offline
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 923
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.


I am SReject
My Stuff
Re: ScoketsPutty login script [Re: FroggieDaFrog] #225601 06/09/10 01:25 AM
Joined: Aug 2010
Posts: 11
G
GreyStar Offline OP
Pikka bird
OP Offline
Pikka bird
G
Joined: Aug 2010
Posts: 11
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.