if (addr = '::') and (origaddr = '') and (fdhandlein < 0) then begin\r
{writeln('failed to create an IPV6 socket with error ',socketerror,'. trying to create an IPV4 one instead');}\r
addr := '0.0.0.0';\r
if (addr = '::') and (origaddr = '') and (fdhandlein < 0) then begin\r
{writeln('failed to create an IPV6 socket with error ',socketerror,'. trying to create an IPV4 one instead');}\r
addr := '0.0.0.0';\r