[erlang-questions] Socket option FREEBIND
Andreas Schultz
aschultz@REDACTED
Tue Oct 17 08:58:11 CEST 2017
----- On Oct 16, 2017, at 7:18 PM, Guilherme Andrade <g@REDACTED> wrote:
> I believe you can use raw socket options[1] for that, but it won't be portable.
IP_FREEBIND is Linux only. FreeBSD has IP(V6)_BINDANY, which is similar but not identical. Windows apparently has nothing alike. Don't know about the other OS's.
Andreas
> [1]: [ http://erlang.org/doc/man/inet.html#setopts-2 |
> http://erlang.org/doc/man/inet.html#setopts-2 ] - {raw, Protocol, OptionNum,
> ValueBin}
> On 16 October 2017 at 15:09, Michael L Martin < [ mailto:mmartin4242@REDACTED |
> mmartin4242@REDACTED ] > wrote:
>> Hi all,
>> Is there a way to specify the FREEBIND option when opening a socket? I don't see
>> any reference to it in the documentation.
>> Thanks,
>> _______________________________________________
>> erlang-questions mailing list
>> [ mailto:erlang-questions@REDACTED | erlang-questions@REDACTED ]
>> [ http://erlang.org/mailman/listinfo/erlang-questions |
>> http://erlang.org/mailman/listinfo/erlang-questions ]
> --
> Guilherme
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20171017/c8ddaddf/attachment.htm>
More information about the erlang-questions
mailing list