Numbers of network addresses available for a given number of network bits… I always forget so… Network bits Mask Number of addresses /20 255.255.240.0 4096 /21 255.255.248.0 2048 /22 255.255.252.0 1024 /23 255.255.254.0 512 /24 255.255.255.0 256 /25 255.255.255.128 128 /26 255.255.255.192 64 /27 255.255.255.224 32 /28 255.255.255.240 16 /29 255.255.255.248 8 /30 255.255.255.252 4
I’ve recently been planning to move over to using Varnish (http://varnish-cache.org/) as my primary reverse proxy on a couple of servers. To that end I’ve been having a bit of a play configuring it and trying to get it to do all the quirky little bits I have the current Apache doing. One of those [...]
So how do you get a list of all the IP addresses bound to the local ethernet adapter? Easy use the built in global stack; GStack. All you need to do is add IdStack to your uses clause and your away! uses IdStack; … CheckListBox1.Clear; CheckListBox1.Items := GStack.LocalAddresses; CheckListBox1.Items.Insert(0, ’127.0.0.1′); Note that I’ve added the [...]
© Chillibear | Theme DePo Skinny | Header image from: Andrews, William: 'Curiosities of the Church: Studies of Curious Customs, Services and Records' (1891)