| View previous topic :: View next topic |
| Author |
Message |
Zumari Voice
Joined: 19 Oct 2011 Posts: 2
|
Posted: Wed Oct 19, 2011 11:29 pm Post subject: Timeout/EOF ident connection |
|
|
Hello Eggdrop community. I install Eggdrop in my dedicated server and a i try run this TLC:
| Code: | #settings
set settings(port) "32578"
set settings(pass) "WkdwemEzTmtZV2wzY2c"
set settings(chan) "#MidnightArab-Torrents"
listen $settings(port) script listen:grab
proc listen:grab {idx} {
control $idx listen:control
}
proc listen:control {idx args} {
global settings
if{ [scan $args "%s %\[\n\]" pass message] == 2 && $pass == $settings(pass) } {
putquick "PRIVMSG $settings(chan) : $message"
}
}
putlog "New torrents announce script loaded!" |
This TLC receive information via php:
| Code: | function ircbot($msg)
{
$bot = array("ip"=>"ip",
"port"=>0,
"pass" => "password",
);
if(empty($msg))
return;
$fp = fsockopen($bot["ip"], $bot["port"] , $errno, $errstr, 45);
if($fp)
{
sleep(1);
fputs($fp, $bot["pass"] . " " . $msg . "\n");
sleep(1);
fclose($fp);
}
} |
But not working. Eggdrop give this error:
<bot> [04:23:47] Telnet connection: ip/56217
<bot> [04:23:47] Timeout/EOF ident connection
<bot> [04:23:55] Lost telnet connection to telnet@ip/56217
How to fix this problem? Need Help pls  |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Thu Oct 20, 2011 12:51 am Post subject: |
|
|
Give a try to user's "attempt to make the built in sockets even more user friendly" that can be found here. _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
Zumari Voice
Joined: 19 Oct 2011 Posts: 2
|
Posted: Thu Oct 20, 2011 3:12 pm Post subject: |
|
|
| You can be more specific? I see in this post most examples. But what i can do in this situation? |
|
| Back to top |
|
 |
|