Re: Distributed Objects and IP Addresses
Re: Distributed Objects and IP Addresses
- Subject: Re: Distributed Objects and IP Addresses
- From: Chris Kane <email@hidden>
- Date: Mon, 10 Mar 2003 08:37:44 -0800
The ports would be the only things that might get you to that
information. If you're using NSSocketPort, a getpeername() (a BSD API)
on the "native port" of the send port might do the trick.
Chris Kane
Cocoa Frameworks, Apple
On Friday, March 7, 2003, at 09:36 PM, email@hidden wrote:
Hey,
I am kinda stuck. I am using Distributed objects communicate between 2
processes. I am trying to determine the IP address from where a
request occured.
From the NSConnection object I can see that I need a delegate to catch
the
request by using the "HandleRequest" method. I figure it is in this
method that
I need to operate on the NSDistantObject class to figure out the IP
address.
Does anyone have experience in doing this?
Zameer
__________________________________________________________
Get your FREE personalized e-mail at http://www.canada.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.