Re: native sockets different on powerbooks/iBooks?
Re: native sockets different on powerbooks/iBooks?
- Subject: Re: native sockets different on powerbooks/iBooks?
- From: Roy Lovejoy <email@hidden>
- Date: Wed, 15 Oct 2003 09:41:55 -0700
On Wednesday, October 15, 2003, at 09:27 AM, Eli Green wrote:
Lastly, gethostid() was dropped in 4.4BSD, so I'm not sure you should
rely on it. Maybe gethostname() / gethostbyname().
I saw that note on one of the darwin websites. man for gethostid() i
recall-
it recommended sysctl (CTL_KERN KERN_HOSTID), which ALSO returns
0x00000000
the sysctl() call is succeeding, returns 0 for result, and puts '4' in
for the size..
it just is returning a bogus #.
if I knew how to get the broadcast address, I'd be down the road.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.