[issue24809] Add getprotobynumber to socket module
Will Booth
report at bugs.python.org
Thu Aug 6 19:12:49 CEST 2015
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 <report at bugs.python.org>
<http://bugs.python.org/issue24809>
_______________________________________
More information about the Python-bugs-list
mailing list