X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/9e8179457b49de0ee52ab40192a88971fc3c01e6..e6290c8bee34fc9a6fdbce30a9dd85faffeaac5a:/lsocket.pas diff --git a/lsocket.pas b/lsocket.pas index 642ec9a..72ef891 100755 --- a/lsocket.pas +++ b/lsocket.pas @@ -419,6 +419,7 @@ begin if (addr = '::') and (origaddr = '') and (fdhandlein < 0) then begin {writeln('failed to create an IPV6 socket with error ',socketerror,'. trying to create an IPV4 one instead');} addr := '0.0.0.0'; + biniptemp := ipstrtobinf(addr); fdhandlein := socket(PF_INET,socktype,0); end; {$endif}