network protocols

T

Tarek Ziadé

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,146
Messages
2,570,832
Members
47,374
Latest member
EmeliaBryc

Latest Threads

Top