Kaushik wrote:
> Hi,
>
> I have a simple server client code which connects a linux PC and a
> windows PC. If I disconnect the network from the internet then the
> program stops sending data from one computer to the other. I want to
> make a local LAN and I want to know how to get the local IP addresses
> of the computers. I have a linux and a 98 and an Xp to make a small
> LAN. Is there any other problem than the IP address problem?
You don't find the address, you have to assign it. When you're connected to
the internet, your ISP will likely have a dhcp server, which assigns the
addresses. If you don't have one of those, you have to use a static
address. Try something in the range of 192.168.x.x. Also, those cheap
firewall/router boxes include a dhcp server, so you may want to use one of
those.
--
Fundamentalism is fundamentally wrong.
To reply to this message, replace everything to the left of "@" with
james.knott.
|