X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/4782a5c5afee47721cc617daa40dd29828342c2b..15aaf24818741f4693440346f0b530131445bf18:/lcoretest.dpr?ds=sidebyside diff --git a/lcoretest.dpr b/lcoretest.dpr index f6fe72b..9c4ec7c 100755 --- a/lcoretest.dpr +++ b/lcoretest.dpr @@ -115,9 +115,15 @@ begin end; procedure tsc.dnsrequestdone(sender:tobject;error : word); +var + tempbinip : tbinip; + tempbiniplist : tbiniplist; begin writeln('irc.ipv6.p10link.net resolved to '+das.dnsresult+' connecting client socket there'); - clientsocket.addr := das.dnsresult; + das.dnsresultbin(tempbinip); + tempbiniplist := biniplist_new; + biniplist_add(tempbiniplist,tempbinip); + clientsocket.addr := tempbiniplist; clientsocket.port := '6667'; clientsocket.connect; writeln(clientsocket.getxaddr);