• 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
native sockets different on powerbooks/iBooks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

native sockets different on powerbooks/iBooks?


  • Subject: native sockets different on powerbooks/iBooks?
  • From: Roy Lovejoy <email@hidden>
  • Date: Tue, 14 Oct 2003 14:02:05 -0700

I'm writing some native socket code, and it seems that there is an unexplained runtime difference
on powerbooks & iBooks.

(all running 10.2.8)

On a G4 tower, I can broadcast from a socket just fine, tcpdump sees it, but running the same
app on a G4 powerbook, or G3 iBook, tcpdump does not see it.

It doesn't matter if the laptop's network config has airport first, last, or totally off.
(the laptop's primary connection is Ethernet)

The laptops can *send* packets successfully, they just can't *broadcast* packets..

Another very strange thing is that on the laptops, gethostid() returns 0x00000000.
Same app on the G4 Tower returns the expected IP#.

Am I missing something extremely obvious?

I'm just using (as my contract dictates) standard bsd sockets/netcalls..
_______________________________________________
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.

  • Follow-Ups:
    • Re: native sockets different on powerbooks/iBooks?
      • From: Eli Green <email@hidden>
    • Re: native sockets different on powerbooks/iBooks?
      • From: Roy Lovejoy <email@hidden>
  • Prev by Date: Re: Airport cards MAC Address
  • Next by Date: Re: native sockets different on powerbooks/iBooks?
  • Previous by thread: Re: Airport cards MAC Address
  • Next by thread: Re: native sockets different on powerbooks/iBooks?
  • Index(es):
    • Date
    • Thread