end;\r
\r
procedure tsc.dnsrequestdone(sender:tobject;error : word);\r
+var\r
+ tempbinip : tbinip;\r
+ tempbiniplist : tbiniplist;\r
begin\r
writeln('irc.ipv6.p10link.net resolved to '+das.dnsresult+' connecting client socket there');\r
- clientsocket.addr := das.dnsresult;\r
+ das.dnsresultbin(tempbinip);\r
+ tempbiniplist := biniplist_new;\r
+ biniplist_add(tempbiniplist,tempbinip);\r
+ clientsocket.addr := tempbiniplist;\r
clientsocket.port := '6667';\r
clientsocket.connect;\r
writeln(clientsocket.getxaddr);\r