Can libupnp run on Windows XP?

Help
Wythe
2012-12-13
2012-12-14
  • Wythe
    Wythe
    2012-12-13

    I just tried but failed, does libupnp not support windows XP?

     
  • Tieske
    Tieske
    2012-12-13

    I think it should, but it depends, doesn't the error give any clues?

    My first guess would be winsock/ipv6 related problems. iirc XP doesn't support IPv6, which I have seen references to in the code base. You might want to check some compile options to disable some stuff

     
  • Wythe
    Wythe
    2012-12-14

    inet_pton is not available, which is to convert IPv4/IPv6 address to numeric binary form
    if write a function to replace it will libupnp work ? or as what you say ,just disable some stuff , if so, please tell me what exactly to disable, TKS.
    PS:My English is not good, I hope you understand what I say.

     
  • Tieske
    Tieske
    2012-12-14

    I'm not familiar enough to tell you exactly. But it should be configurable through some pre-processor macros/definitions.

    Search the entire project for 'IPv6' and you'll surely find some entrances to fixing it.