Patrice MANDIN
2008-Jan-16 01:51 UTC
[theora-dev] [OGGDSF] dsfOggDemux2.dll, fails for http with private ip
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]