Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: sudhakar.chakravarthi@ps.ge.com
Message-ID: <DB5C7DE93F66D3119CAD0008C7E640310275FF13@flmlbx01psge.geips.ge.com>
To: cygwin@cygwin.com
Subject: Multiple IP in Client, How to....
Date: Wed, 23 May 2001 14:17:33 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"

Hi ,


    I am facing one small problem it will be grateful if you can guide
me. I am writing Client/Server program using socket.

My Client host is having two IP address(Two NIC Cards, ex 192.168.1.1
and 192.168.2.1). Two NIC Cards each one in different LAN ie. my
client is in two LANs )

   My Server process is running in one LAN (ex 192.168.1.10).

   I want to connect to the server 192.168.1.10. While connecting to
the server do i need to bind() the client end for the IP address
192.168.1.1(B'cos same LAN)? Or Operating system itself will select
the client interface? The LAN may have proxy server and firewall also. Will
it
effect?

Thanks in advance,
Sudhakar.


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

