This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Multiple IP in Client, How to....


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]