mIRC Home    About    Download    Register    News    Help

Topic Options
#90899 - 18/07/04 04:54 PM Doesn't realize Cxn reset by peer until I type
kozara Offline
Nutrimatic drinks dispenser

Registered: 18/07/04
Posts: 8
Several times a day, I stop receiving data from some of the 3-5 networks I'm usually on. But mIRC 6.14 doesn't realize this and attempt to reconnect until I type something or exactly 2 hours elapses (the 2 hours appears to be TCP server-side keepalive interval that I cannot lower). Then it says 10054 Connection reset by peer and reconnects me.

if I type something within a minute or so of receiving no data, it'll actually start receiving data again after a lag without formally dis&reconnecting.

I've searched and have tried the script that standalone in this thread helpfully made.
http://forums.mirc.com/showflat.php?Cat=&Board=connectionissues&Number=89906
alias ctcpping {
/set -u120 %alive $true
.timer 0 60 checkctcpping
}
alias checkctcpping {
if (!%alive) { /server $server }
else { .ctcp $me PING2 }
}
on *:ctcp:PING2:{ if ($nick == $me) /set -u120 %alive $true }

From what I understand, this means
CTCPPING: unset Variable alive:true / I'm considered dead after 2 minutes.
TIMER: Every minute, run CHECKCTCPPING: If I'm dead, reconnect to server. Otherwise, ping me.
When I'm pinged, postpone death for 2 more minutes.

I tried it without other scripts in my remotes, script.ini and it still didn't realize I was dead until I typed something. Is there an error in this script?

I'm not using a proxy or XP, as this thread suggests.
http://forums.mirc.com/showflat.php?Cat=&Board=connectionissues&Number=27653
I'm using a Linksys router and Win98. Could it have something to do with the router?

Any suggestions please.

Top
#90900 - 18/07/04 06:50 PM Re: Doesn't realize Cxn reset by peer until I type
MTec89 Offline
Hoopy frood

Registered: 25/07/03
Posts: 742
Loc: Ohio, U.S.A.
:P happens to me too.. and i have a very stable interntet connection.. 2.7mbit cabe... id like to know how to sopt it blush
_________________________
http://MTec89Net.com
irc.freenode.net #MTec89Net

Top
#90901 - 18/07/04 10:10 PM Re: Doesn't realize Cxn reset by peer until I type
kozara Offline
Nutrimatic drinks dispenser

Registered: 18/07/04
Posts: 8
I'm on Roadrunner cable, and it's never all the networks at the same time. Sometimes 1, 2 or 3. Upgraded to mIRC 6.16 a couple hours ago just in case, and it's still doing that.

I'm trying the pong timer in perform suggestion in this thread.


Edited by kozara (18/07/04 11:15 PM)

Top
#90902 - 18/07/04 11:48 PM Re: Doesn't realize Cxn reset by peer until I type
MTec89 Offline
Hoopy frood

Registered: 25/07/03
Posts: 742
Loc: Ohio, U.S.A.
roadrunner here too.. and its only a couple servers here too
_________________________
http://MTec89Net.com
irc.freenode.net #MTec89Net

Top