The problem is I always have to wait the 30 seconds until the request times out. The strange thing is, if I try manually connect to localhost:113 I will get imediedly response that port is closed, so I wonder why the bot waits 30s, if he should know within less than 1 there will not come any response because opening TCP port failed?![14:13:36] net: connect! sock 3
[14:13:36] DNS resolved 127.0.0.1 to localhost
[14:13:36] Telnet-Verbindung: localhost/2171
[14:13:37] dequeue_sockets(): errno = 128 (Transport endpoint is not connected) on 13
[14:14:02] Zeitueberschreitung/EOF bei der Ident-Verbindung
[14:14:10] Eingeloggt: De_Kus (telnet@localhost/2171)
I tried this and got no call for smalconnecttest. It seems it's a general problem with the handling of telnet connections. Is it possible I missconfigured something in my .conf or can this safely be posted to bugzilla? I think control should REALLY call the proc and giving him an empty string to significate the connecting has been closed (and close it!)..tcl proc smalconnecttest {idx input} {putdcc 13 "\[[clock format [clock seconds] -format %T]\] '$input'"}
...
.tcl control [connect localhost 113] smalconnecttest
[16:42:01] tcl: builtin dcc call: *dcc:tcl De_Kus 13 control [connect localhost 113] smalconnecttest
[16:42:01] tcl: evaluate (.tcl): control [connect localhost 113] smalconnecttest
[16:42:01] WARNING: open_telnet_raw() is about to block in gethostbyname()!
Tcl:
because when I do some minuets later this:
Code: Select all
[16:49:37] #De_Kus# dccstat
SOCK ADDR PORT NICK HOST TYPE
---- -------- ----- --------- ----------------- ----
...
14 00000000 113 * localhost scri smalconnecttest
btw. the testproc works as identifer for call of it:
[16:41:28] tcl: evaluate (.tcl): smalconnecttest 235 test
[16:41:28] 'test'
Tcl: