The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ip address of a client ka2d2 IP Networking 6 11-26-2007 02:44 PM
Retrieving IP address of Client from Server matrixmadhan High Level Programming 4 03-21-2006 02:06 AM
client IP address rolly UNIX for Dummies Questions & Answers 2 03-17-2005 06:14 PM
Client Ip Address ovingtond IP Networking 1 09-15-2003 02:45 PM
IP address of telnet client vtran4270 UNIX for Dummies Questions & Answers 1 09-12-2002 01:34 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 03-24-2006
Registered User
 

Join Date: Mar 2006
Posts: 1
Getting IP Address of a client

I read an other post with a similar title but thios is different.
here is a basic portion layout of our network
HTML Code:
Win PC 1 w/Refection X --
                         |
Win PC 2 w/Refection X --
                         |-- 1 of 6 HP Unix servers -- Win 2k pc
Win PC 3 w/Refection X --
                         |
Win PC 4 w/Refection X --
* I have a cleint on each of the HP Unix macines
* I have a server app on the Win 2kPc.
* Person at one of the Win Pc (Windows pc running Reflection X), lets say Win PC 3 and looks at a
display that looks just like that of the HP Unix Machine
* Then they run my client in a HPTerm window.
* The server app accepts the connection request from the client
* The server app requests via the C++ function CAsyncSocket::GetPeerName the IP address of the
client.
*The address returned was that of Win Pc 3

Then one day the ip addresses were changed on all computers on the network. Now the address that os obtained is that of the HP Unix machin not Win PC 3. Here are some thing I know from my previous post

1 From the HPterm window the Display Environment Var is set to the ip address of the Win Pc 1-25. EX: 10.5.21.216:0.0
2 if I use Telnet running on the Win PC 1-25 and log into the HP unix machine and run the client in the telnet window then the IP adrress is that of Win PC 1-25

Can any one help me restore the operation that used to be be for the network readdressing?
Thanks,
Fayette

Last edited by fayette; 03-24-2006 at 11:35 AM. Reason: formatting
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:15 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0