receivecount := receivecount +1;\r
if receivecount >50 then begin\r
writeln('received over 50 bits of data, pausing to let the operator take a look');\r
- readln;\r
+ \r
receivecount := 0;\r
end;\r
while pos(#10,receivebuf) > 0 do begin\r
\r
procedure tsc.sessionconnected(sender: tobject;error : word);\r
begin\r
+ \r
if error=0 then begin\r
writeln('session is connected, local address is'+clientsocket.getxaddr);\r
\r
das.onrequestdone := sc.dnsrequestdone;\r
//das.forwardfamily := af_inet6;\r
das.forwardlookup('irc.ipv6.p10link.net');\r
+ \r
end;\r
\r
procedure tsc.dnsrequestdone(sender:tobject;error : word);\r
clientsocket.addr := tempbiniplist;\r
clientsocket.port := '6667';\r
clientsocket.connect;\r
- writeln(clientsocket.getxaddr);\r
+ //writeln(clientsocket.getxaddr);\r
das.free;\r
end;\r
\r