FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP socket and NAT
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP socket and NAT [message #177173 is a reply to message #177164] Fri, 24 February 2012 18:53 Go to previous messageGo to previous message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma:
Senior Member
In article <ji8aun$5et$2(at)news(dot)albasani(dot)net>,
The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:

> Tim Streater wrote:
>> In article <ji82v9$jsa$2(at)news(dot)albasani(dot)net>,
>> The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>>
>>> M. Strobel wrote:
>>>> Am 23.02.2012 17:03, schrieb SL:
>>>> >> No they don't, the local network will not allow it. They will have
>>>> >> different IP addresses.
>>>> > Sorry, folks. When I say same IP, I mean the external IP.
>>>> >
>>>> > I am trying to add something to a chat application; a server is
>>> involved >> here, eg user initiates connection to a chat server (via
>>> internet), where >> the server routes the messages (I think you gurus
>>> know what I mean).
>>>> >
>>>> > Thanks. >>
>>>> >
>>>> > In the case where the clients connect to the server, there is
>>> absolutely no > problem
>>>> with NAT, it is just transparent. The server responds to these
>>> connections > like to
>>>> any other. Remember: HTTP establishes a TCP connection, and here the
>>>> endpoints (=
>>>> sockets) are identified by ip-address and port number: IP address in
>>> the IP > header,
>>>> port number in the TCP header.
>>>> > A problem with NAT is to start a connection from the internet to a
>>> station > on the LAN
>>>> through the NAT router. Many call this problem a security feature.
>>>>
>>> Probably because that is exactly what it is.
>>>
>>> All arising out of the perception that SEVERS need connections but
>>> DESKTOPS only make them.
>>>
>>> Plus a global shortage of IP addresses...
>>
>> Until v6 at any rate - not that you hear ISPs talking about that.
>>
> You do, but *quietly*.
>
> There are not a few IPV6 machines out there.

True, and the Europe-wide network we put together at my last job was all
dual-stack. But trying to get native v6 connections from commodity IP
providers such as COLT, Telia, Sprint, etc, was met with the equivalent
of "Not much call for that round here, Squire!". Mind you that was in
2008 and earlier, it may have improved since then. The fact that the
last /8 blocks have now been handed out may concentrate their minds a
bit.

We'll need new ADSL routers or hopefully just firmware upgrades, though.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: chat on web, Ajax ?
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 05:14:51 GMT 2024

Total time taken to generate the page: 0.04953 seconds