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 #177154 is a reply to message #177151] Fri, 24 February 2012 13:22 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
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...

> /Str.
[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: Thu Nov 28 10:44:45 GMT 2024

Total time taken to generate the page: 0.03773 seconds