• 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: Obtaining local host name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obtaining local host name


  • Subject: Re: Obtaining local host name
  • From: Marc Krochmal <email@hidden>
  • Date: Fri, 23 May 2008 15:27:37 -0700

gethostname isn't going to work. You're looking for SCDynamicStoreCopyLocalHostName.


On May 23, 2008, at 3:08 PM, Jeff Jenkins wrote:

$ man 3 gethostname

-- jrj

On May 23, 2008, at 3:04 PM, R.L. Grigg wrote:

Is there a programmatic way (Objc method or C function call) that will return the local host name string?

Russ

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Obtaining local host name
      • From: "R.L. Grigg" <email@hidden>
References: 
 >Obtaining local host name (From: "R.L. Grigg" <email@hidden>)
 >Re: Obtaining local host name (From: Jeff Jenkins <email@hidden>)

  • Prev by Date: Re: Obtaining local host name
  • Next by Date: Re: Obtaining local host name
  • Previous by thread: Re: Obtaining local host name
  • Next by thread: Re: Obtaining local host name
  • Index(es):
    • Date
    • Thread