Top "Ipv4" questions

IPv4 is the "old style" IP protocol currently used in most circumstances.

What is the largest Safe UDP Packet Size on the Internet

I've read a number of articles about UDP packet sizes but have been unable to come to a conclusion on …

networking sockets udp ipv4
Validating IPv4 addresses with regexp

I've been trying to get an efficient regex for IPv4 validation, but without much luck. It seemed at one point …

regex validation ip-address ipv4 grep
How can I convert IPV6 address to IPV4 address?

I have application that uses IPv4 addresses (it stores them as long), so it only understands IPv4 addresses. Is it …

java ip-address ipv6 ipv4
How to convert an IPv4 address into a integer in C#?

I'm looking for a function that will convert a standard IPv4 address into an Integer. Bonus points available for a …

c# integer ip ipv4
What is IPV6 for localhost and 0.0.0.0?

As we all know the IPv4 address for localhost is 127.0.0.1 (loopback address). What is the IPv6 address for localhost and …

localhost ipv6 ipv4
Get IPv4 addresses from Dns.GetHostEntry()

I've got some code here that works great on IPv4 machines, but on our build server (an IPv6) it fails. …

c# .net dns ipv6 ipv4
What is the total amount of public IPv4 addresses?

Yes, I am needing to know what the total number possible IPs in the public IPv4 space. I'm not sure …

ip-address ipv4
How to set java.net.preferIPv4Stack=true at runtime?

I need to disable IPv6. For that the java documentation indicates setting jvm property java.net.preferIPv4Stack=true. But …

java ipv6 broadcast ipv4
What is the most appropriate data type for storing an IP address in SQL server?

What should be the most recommended datatype for storing an IPv4 address in SQL server? Or maybe someone has already …

sql sql-server types ip-address ipv4
How do I determine the local host’s IPv4 addresses?

How do I get only Internet Protocol version 4 addresses from Dns.GetHostAddresses()? I have the code below, and it gives …

c# ip-address ipv4