• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Distributed Objects and IP Addresses
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: NSTableView with scrollbars does not update correctly
  • Next by Date: Re: CFDictionaryGetValue case insensitive
  • Previous by thread: RE: Distributed Objects and IP Addresses
  • Next by thread: Pref panes and NSDocuments
  • Index(es):
    • Date
    • Thread