Want to know what is ipv4 and ipv6? [closed] - ipv4

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Want to know what is the difference between ipv4 and ipv6 and how does it affect the openstream()

The basic difference is the number of available addresses. IPv4 has a 32-bit address whereas IPv6 has 128 bits.
This allows for a massive expansion in IP addresses, probably enough for every fridge, microwave or other white good on the planet to have its own class C subnet :-)
Actually, that's probably only funny once you understand a lot more about IP addressing so feel free to just laugh nervously if you don't understand :-)
There's some extra goodies in v6 but the IP address expansion is pretty well the major feature.
See also wikipedia for IPv6 and IPv4. There's a section in that first link which details some of the IPv4/IPv6 differences.

The difference is in packet headers. One protocol has different headers than the other. Don't think this would affect an openstream() call. Chances are the socket will take care of the headers automatically and you're stream will only be concerned with the payload of the packet (Java..?). Write a test program and find out!

Related

What is the difference between NAT and PAT? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
PAT is also called overloading NAT. I don't understand why we need to use PAT? NAT alone is handling IPv4 addresses then why it is required to translate port also?Today's home wifi router use both NAT and PAT simultaneously which is also called NPAT. Your network will still work without PAT also then why PAT is used?
NAT: Network Address Translation; PAT: Port Address Translation
Network Address Translation (NAT) and Port Address Translation (PAT) both map IP addresses on an internal network to IP addresses on an external network. Which method of address translation you use depends on the types of networks that you are translating and the number of available IP addresses that you have.
Please see.

why is there a sub-domain existing which I didn't create? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I resigstered a new domain visitsoonvalley.com but now I can see that there is a sub-domain support.visitsoonvalley.com which I didn't create and I can't find in the cpanel too. This page is showing ads and the first advertisement is of the company that I registered my domain with. Is it possible that they created this sub domain? Are they allowed to do this without notifying me?
UPDATE: I just checked going to help.visitsoonvalley.com and same result. Why are these sub domains existing?!
You cannot register subdomains. You cannot really create them. You can only use them.
Most likely there is a "wildcard DNS resolution" for your domain. That would be something your provider has done and it actually does make some sense, since most people want that. Why don't you simply ask them? They will probably remove it from your DNS settings if you ask them.
A "wildcard DNS resolution" means that all DNS resolution requests to hostnames within your domain are resolved to the same IP address, without any specific rule existing. So it is a kind of "fallback".
Why there are ads shown in your page is nothing we can say. Might be some default content your provider puts in as a placeholder until you create content. Or they simply created a DNS resolution as a palceholder until you name an IP address the domain should be resolved to. Again: why don't you ask your provider? You pay them for their service, so usually that means the have to give support...
Certainly that is not exactly a "nice" behavior if that really is not mentioned anywhere in their policy. But on the other hand it does no harm and is only temporary...

Removing "www" from the domain directs to different site [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Improve this question
A novice here. The support from mediaTemple and my current host have been quite unhelpful, so stackOverflow may be my hero.
My problem is that entering "www" before the domain and leaving it out direct to different servers.
The background on this is that I first registered the domain with mediaTemple and had a plan with their gridHosting, but after finding their service unsatisfactory, I cancelled my gridhosting plan and moved to another host. This problem occurs even after updating the nameservers. In short, the web server is hosted by proMinecraftHost, but the domain is registered under mediaTemple.
Support from both sides say it's due to dns and the nameservers needing 24-48 hours to update, but I'm fairly skeptical that it really is the cause.
Summarizing, www.mscraft.org directs to the correct server, but mscraft.org(mscraft.org) alone does not.
If anyone could help me, I'd greatly appreciate it.
Thanks in advance.
It's possible you just have the old DNS info in your cache. Try clearing your browser's cache, and also flushing your DNS. On Windows you could do ipconfig /flushdns in a command prompt. Also you could try pinging both addresses (with and without www). You should see the same IP address for both, as I got 198.154.108.107 when I tried them. In other words, I think it's working properly - you are just going to the old location because your machine is remembering too much.

What happens when I ping 127.0.0.1 [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
It might seem a little stupid but I'm curious to know what really happens when I ping the loop-back IP address, ping 127.0.0.1.
Does OS treat it in a special way?
The 127.0.0.0/8 is a CDIR netblock reserved by IANA and it's called Loopback. This traffic is routed by kernel to a a special network adapter called loopback adapter. It never hits the OSI Model Layer 1, as any local traffic.
For most all OS data travels across the network kernel services until the IP stack. At this point the data will be send back without hitting the physical layer and the real NIC hardware.
This work is done almost entirely from the host system's CPU, which means a great simplification compared to the physical network transmission. Modern OS kernels are able to detect the loopback traffic and grant speeds over than fastest nowadays physical adapters (> 50GBps).
I do not think that OS treats this IP any different from the rest except that it points back to local machine.
http://www.rolo.org/127-0-0-1.html

blogger.com subdomains [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
When one registers for a blog in blogger.com, a sub-domain gets created i.e. your_blog_name.blogger.com
My question is - Is there no limit to the number of sub-domains you can create with a single domain name?
I am just curious as to how blogger (or any other blog hosting platform) does this?
This can be done by a catch-all A record rule in your DNS server configuration. For example, in bind, you would use something like this:
*.example.com. IN A 127.0.0.1
This would make anything.example.com resolve to 127.0.0.1. Then, using an appopriate VHost on your http server, you can redirect all requests to a particular server-side script (for example PHP), which can then detect the hostname that was used, and respond with the content required.
There are restrictions on the characters that can be used (actually, two separate sets of restrictions due to the way IDNs work). There are practical limitations in terms of length. Beyond that no. Indeed, it's not much different for the entity in charge of .blogger.com to create a subdomain of that than for the entity in charge of .com to do so, and there were 80,000,000 of those at the start of last year .