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


Groups > comp.lang.php > #4968

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 11:58 +0100
Message-ID <9qp8qnFig8U1@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> <ji5gd3$ro1$2@news.albasani.net>

Show all headers | View raw


Am 23.02.2012 14:53, schrieb The Natural Philosopher:
> Captain Paralytic wrote:
>> On Feb 23, 1:09 pm, "sl@exabyte" <sb5...@hotmail.com> wrote:
>>>> I'm assuming you're talking about talking to two people on a remote
>>>> LAN, and that LAN uses NAT to connect to the internet.
>>>> The first question is - who's connecting to whom?
>>>> If the remote systems are connecting to you, then there's no problem.
>>>> However, if you are trying to connect to them, there's a lot more work
>>>> involved.  The router must be set up with port forwarding and you have
>>>> to connect to the correct port to forward to the proper machine.
>>>> You can find more information in a TCP/IP newsgroup.
>>> I am thinking of the scenario where I am talking to 2 persons via the
>>> internet, and these 2 persons are in the same LAN, something like chatting.
>>> So the problem in my mind is that these 2 persons have the same IP.
> 
>> No they don't, the local network will not allow it. They will have
>> different IP addresses.
> 
> They do as far as the outside world is concerned.
> 
> And the network doesn't *disallow* it inside the NAT area either, it simply stops
> things working for those two machines :-)
> 
> As anyone who has done it in the olden days of static IP addresses will tell you.
> 
> How we sobbed for joy when DHCP  on PC's arrived...try managing upwards of 100
> machines on the same LAN..with static IP addresses..

This is easier than setting the dip switches of arcnet NICs to the mac address...

/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