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 #177150 is a reply to message #177138] Fri, 24 February 2012 10:58 Go to previous messageGo to previous message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma:
Senior Member
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.
[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: Fri Sep 20 09:40:21 GMT 2024

Total time taken to generate the page: 0.06475 seconds