Will Booth added the comment:

Allow users to translate protocol numbers from IPv4/IPv6 headers to a friendly 
human readable string.

Just filling a gap in the API. There might be a PyPI package out there similar 
to socket. However, it's complementary function,'getprotobyname', already exist 
here. getprotobynumber just flips getprotobyname around.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24809>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to