Hey

I was surprised not to find any way to list all protocol names listed in /etc/protocols in Python

We have

socket.getprotobyname(NAME)

But there's no way to get the list of names

Any ideas if this is available in the stdlib somehwere ?

Thx
Tarek
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to