Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine IP address of client request

Status
Not open for further replies.

x046866

Programmer
Jan 7, 2005
1
0
0
US
Does anyone know of a way to determine the client IP address from a server request? We are trying to limit access to server functions to a specific set of IP addresses and I can't find a way to do it easily. I can do it using IE.Iona.OrbixWeb classes but I want to do it an org.omg.CORBA way.
 
well ..you may try to make a function to get ip address, and then send with the function as String . in your idl file your request function should have

function_name(in String stringvar){
/***** some things
}
and get ip address an send as string
server recieve string and you could parse that string

bye ..

sorry about my bad english

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top