inet:setops manual: {priority, Integer} is documented twice

Loïc Hoguin <[email protected]> Tue, 18 Aug 2015 00:40:57 +0200
Newsgroups gmane.comp.lang.erlang.bugs
Organization Nine Nines
Message-ID <[email protected]>
http://www.erlang.org/doc/man/inet.html#setopts-2

I think it refers to the same option, but as I am not sure what this 
option does *exactly* I'm reporting a bug rather than fixing it.

First time it mentions the option it says:

{priority, Priority}
     Set the protocol-defined priority for all packets to be sent on 
this socket.

Second time:

{priority, Integer}
     Sets the SO_PRIORITY socket level option on platforms where this is 
implemented. The behaviour and allowed range varies on different 
systems. The option is ignored on platforms where the option is not 
implemented. Use with caution.

Second one sounds better though it's probably good to add it's for all 
packets sent on this socket.

Cheers,

-- 
Loïc Hoguin
http://ninenines.eu
Author of The Erlanger Playbook,
A book about software development using Erlang
_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs