begin\r
if state <> wsclosed then close;\r
//prevtime := 0;\r
-\r
- biniplist := forwardlookuplist(addr,0);\r
+ if isbiniplist(addr) then biniplist := addr else biniplist := forwardlookuplist(addr,0);\r
if biniplist_getcount(biniplist) = 0 then raise exception.create('unable to resolve '+addr);\r
\r
//makeinaddrv(addr,port,inaddr);\r
{$endif}\r
addr := '0.0.0.0';\r
end;\r
- biniptemp := forwardlookup(addr,10);\r
+ if isbiniplist(addr) then biniptemp := biniplist_get(addr,0) else biniptemp := forwardlookup(addr,10);\r
addr := ipbintostr(biniptemp);\r
fdhandlein := socket(biniptemp.family,socktype,0);\r
{$ifdef ipv6}\r