[OGGDSF] dsfOggDemux2.dll, fails for http with private ip
Patrice MANDIN <[email protected]>
| Newsgroups | gmane.comp.multimedia.ogg.theora.devel |
|---|---|
| Message-ID | <26876941.197331200474015155.JavaMail.www@wwinf1a31> |
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]