Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #4969

Re: PHP socket and NAT

From "M. Strobel" <sorry_no_mail_here@nowhere.dee>
Newsgroups comp.lang.php
Subject Re: PHP socket and NAT
Date 2012-02-24 12:07 +0100
Message-ID <9qp9brFp80U1@mid.uni-berlin.de> (permalink)
References <ji4v4e$lnm$1@news.albasani.net> <ji5daf$nqa$1@dont-email.me> <ji5dr2$lru$1@news.albasani.net> <7cab1d55-1251-4ef7-8c5a-b66bfd75f8e0@t15g2000yqi.googlegroups.com> <ji5o1g$d7m$1@news.albasani.net>

Show all headers | View raw


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.

/Str.

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PHP socket and NAT "SL" <sb5309@hotmail.com> - 2012-02-23 16:58 +0800
  Re: PHP socket and NAT Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-02-23 11:32 +0100
    Re: PHP socket and NAT Captain Paralytic <paul_lautman@yahoo.com> - 2012-02-23 02:41 -0800
      Re: PHP socket and NAT Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-02-23 11:53 +0100
    Re: PHP socket and NAT Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-02-23 11:52 +0100
      Re: PHP socket and NAT "sl@exabyte" <sb5309@hotmail.com> - 2012-02-23 21:04 +0800
        Re: PHP socket and NAT The Natural Philosopher <tnp@invalid.invalid> - 2012-02-23 13:37 +0000
  Re: PHP socket and NAT The Natural Philosopher <tnp@invalid.invalid> - 2012-02-23 11:40 +0000
  Re: PHP socket and NAT Jerry Stuckle <jstucklex@attglobal.net> - 2012-02-23 08:00 -0500
    Re: PHP socket and NAT "sl@exabyte" <sb5309@hotmail.com> - 2012-02-23 21:09 +0800
      Re: PHP socket and NAT Captain Paralytic <paul_lautman@yahoo.com> - 2012-02-23 05:19 -0800
        Re: PHP socket and NAT The Natural Philosopher <tnp@invalid.invalid> - 2012-02-23 13:53 +0000
          Re: PHP socket and NAT Captain Paralytic <paul_lautman@yahoo.com> - 2012-02-23 06:25 -0800
            Re: PHP socket and NAT Michael Fesser <netizen@gmx.de> - 2012-02-23 18:28 +0100
            Re: PHP socket and NAT The Natural Philosopher <tnp@invalid.invalid> - 2012-02-23 20:42 +0000
          Re: PHP socket and NAT "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-02-24 11:58 +0100
        Re: PHP socket and NAT "SL" <sb5309@hotmail.com> - 2012-02-24 00:03 +0800
          Re: PHP socket and NAT The Natural Philosopher <tnp@invalid.invalid> - 2012-02-23 20:44 +0000
          Re: PHP socket and NAT "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-02-24 12:07 +0100
            Re: PHP socket and NAT The Natural Philosopher <tnp@invalid.invalid> - 2012-02-24 13:22 +0000
              Re: PHP socket and NAT Tim Streater <timstreater@greenbee.net> - 2012-02-24 14:20 +0000
                Re: PHP socket and NAT The Natural Philosopher <tnp@invalid.invalid> - 2012-02-24 15:39 +0000
                Re: PHP socket and NAT Tim Streater <timstreater@greenbee.net> - 2012-02-24 18:53 +0000
                Re: PHP socket and NAT The Natural Philosopher <tnp@invalid.invalid> - 2012-02-24 21:04 +0000
                Re: PHP socket and NAT Tim Streater <timstreater@greenbee.net> - 2012-02-24 21:41 +0000
                Re: PHP socket and NAT "Peter H. Coffin" <hellsop@ninehells.com> - 2012-02-26 12:50 -0600
      Re: PHP socket and NAT Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-02-23 14:37 +0100
      Re: PHP socket and NAT The Natural Philosopher <tnp@invalid.invalid> - 2012-02-23 13:50 +0000

csiph-web