Questions tagged [ip-address]

Questions related to IP addresses, IPv4 and IPv6.

Filter by
Sorted by
Tagged with
7
votes
4answers
284 views

IPv4 struct utilizing explicit layout

I was inspired by Processing a list to build an IP in String Format to reinvent the wheel a little bit and play around with explicit struct layouts. You see, an IP address is really made up of four,...
11
votes
3answers
1k views

IP address detection code

I am using PHP for detecting a user's IP address and displaying their details, and I use OOP (i.e. object-oriented programming). Are there any problems in it or is it well-written? index.php: ...