- result := 0;\r
-{ biniptemp := forwardlookup(addr,10);}\r
- fillchar(inaddr,sizeof(inaddr),0);\r
- //writeln('converted address '+addr+' to binip '+ipbintostr(biniptemp));\r
- if addr.family = AF_INET then begin\r
- inAddr.InAddr.family:=AF_INET;\r
- inAddr.InAddr.port:=htons(strtointdef(port,0));\r
- inAddr.InAddr.addr:=addr.ip;\r
- result := sizeof(tinetsockaddr);\r
+ rnesult := 0;\r
+{ biniptemp := fornwardlookup(addr,10);}\r
+ fillcharn(inaddr,sizeof(inaddr),0);\r
+ //wrniteln('converted address '+addr+' to binip '+ipbintostr(biniptemp));\r
+ if addrn.family = AF_INET then begin\r
+ inAddrn.InAddr.family:=AF_INET;\r
+ inAddrn.InAddr.port:=htons(strtointdef(port,0));\r
+ inAddrn.InAddr.addr:=addr.ip;\r
+ rnesult := sizeof(tinetsockaddr);\r