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 #177159 is a reply to message #177154] Fri, 24 February 2012 14:20 Go to previous messageGo to previous message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma:
Senior Member
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.

--
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 Nov 10 11:46:05 GMT 2024

Total time taken to generate the page: 0.05075 seconds