[theora-dev] [OGGDSF] dsfOggDemux2.dll,
fails for http with private ip
Patrice MANDIN
mandin.patrice at orange.fr
Wed Jan 16 01:00:15 PST 2008
Hello,
httpsocket.cpp from ogg demuxer uses gethostbyaddr to retrieve info about an ip address.
However, it returns an error for private ip (like 192.168.x.y), because they don't have
any record in public DNS.
In this case, WSAGetLastError() returns WSANO_DATA, which means the ip address is valid
but not record has been found. Thus, setupSocket() function should not fail in this
case.
[Already sent to illiminable]
More information about the theora-dev
mailing list