A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-September/091880.html below:

[Python-Dev] PEP 3144 review.

[Python-Dev] PEP 3144 review.Steven D'Aprano steve at pearwood.info
Fri Sep 18 05:18:00 CEST 2009
On Fri, 18 Sep 2009 11:04:46 am Andrew McNamara wrote:
> >To a non-specialist, "the network address" is ambiguous. There are
> > many addresses in a network, and none of them are the entire
> > network. It's like saying, given a list [2, 4, 8, 12], what's "the
> > list item"?
>
> A "network address" is an IP address and mask, but I understand your
> confusion - we're mixing terminology from disperate domains. In my
> postings, I have tried to refer to Network (a containter) and Address
> (an item).


So to clarify, how many different things which need to be handled are 
there?

Items:
1 IP address  -- a 32 bit (IPv4) or 128 bit (IPv6) number
2 Netmask -- a bit mask of the form 111..100..0
3 Network address -- the lowest address in a network, and equal 
  to (defined by?) the bitwise-AND of any address in the network 
  with the network's netmask
4 Host address -- the part of the IP address that is not masked 
  by the netmask
5 Broadcast address -- the highest address in a IPv4 network

Containers:
6 Network -- a range of IP address

Have I missed anything or got anything wrong?



-- 
Steven D'Aprano
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4