native sockets different on powerbooks/iBooks?
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.