weixin_39987138 2020-11-20 21:15
浏览 0

Adding IPV6 support to socket APIS in fluid_sys.c file

Hi,

Currently when fluidsynth is used as a server then it only supports IPV4 addressing. I have done changes to fluid_server_socket_run() and new_fluid_server_socket() APIs so that both IPV4 and IPV6 addresses can be used, also the changes are done in configure.ac so that old code is still valid, added --enable-ipv6 setting to support both IPV4 and IPV6 addresses.

These changes will add advantage to use fluidsynth in both IPV4 and IPV6 mode. Using only IPV4 could be a limitation very soon and upgradation to support both IPV4 and IPV6 is important.

Please find the patch attached for this change.

Reported by: surabhi-mishra

Original Ticket: fluidsynth/tickets/126

该提问来源于开源项目:FluidSynth/fluidsynth

  • 写回答

10条回答 默认 最新

  • weixin_39987138 2020-11-20 21:15
    关注

    Hi and thanks for the patch - I have the following questions:

    1) + CFLAGS="$CFLAGS -DIPV6" These types of defines is usually done through config.h instead of adding things to cflags. Could you change that?

    2) If FluidSynth is compiled with IPv6 support, will IPv4 support continue working as usual?

    Original comment by: diwic

    评论

报告相同问题?