Re: Network protocols, sans I/O,(Hopefully) the future of network protocols in Python

2016-08-08 Thread Irmen de Jong
On 8-8-2016 12:37, Mark Lawrence wrote: > This may be of interest to some of you > http://www.snarky.ca/network-protocols-sans-i-o > I sure find it interesting. Will also watch Cory's PyCon presentation that is mentioned! Thanks for the link. Irmen -- https://mail.python.org/mailman/listinf

Re: network protocols

2012-06-13 Thread Tarek Ziadé
On 6/13/12 8:33 PM, Christian Heimes wrote: Am 13.06.2012 16:56, schrieb Christian Heimes: Am 13.06.2012 13:41, schrieb 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 t

Re: network protocols

2012-06-13 Thread Christian Heimes
Am 13.06.2012 16:56, schrieb Christian Heimes: > Am 13.06.2012 13:41, schrieb 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 na

Re: network protocols

2012-06-13 Thread Christian Heimes
Am 13.06.2012 13:41, schrieb 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 s

Re: network protocols

2012-06-13 Thread Verde Denim
On 6/13/12, John Sutterfield wrote: > > Tarek, > > There doesn't appear to be a function in stdlib to cover that particular > case. > > Doug Hellman has a nice section on finding service info here: > > http://www.doughellmann.com/PyMOTW/socket/addressing.html > > It wouldn't be "built-in", but it

RE: network protocols

2012-06-13 Thread John Sutterfield
Tarek, There doesn't appear to be a function in stdlib to cover that particular case. Doug Hellman has a nice section on finding service info here: http://www.doughellmann.com/PyMOTW/socket/addressing.html It wouldn't be "built-in", but it looks like it would be pretty simple to get the in