Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!sunquest!venus.sunquest.com!terry From: terry@venus.sunquest.com (Terry R. Friedrichsen) Newsgroups: comp.unix.aix Subject: broadcast UDP vs. AIX Summary: score after 6 innings: AIX 3, UDP 0 Keywords: AIX UDP broadcast fail Message-ID: <20561@sunquest.UUCP> Date: 4 Jun 91 20:13:16 GMT Sender: news@sunquest.UUCP Followup-To: comp.unix.aix Distribution: usa Organization: Sunquest Information Systems, Tucson Lines: 32 I have written a miscellaneous random server that runs on a number of Unix systems. It runs on various nodes in the network and intercommunicates via UDP broadcasts. The code works peachy-keen jim-dandy fine EXCEPT under AIX. My vote was just to blow off AIX as a bad job, but higher-ups in the company think otherwise ;-). It turns out that they don't like to see the address INADDR_BROADCAST in the sockaddr structure; they want to see the network's broadcast mask instead. Now this is, of course, broken, and we told them so, but at least it is a workaround I can use. The problem is that I need to come up with this network broadcast mask programmatically. This software is going to dozens of sites all over the country with their own local-area nets, and I'd rather avoid a configuration/installation procedure. Does anybody know if AIX has a way of returning this information to a user program? AdTHANKSvance. Terry R. Friedrichsen terry@venus.sunquest.com (Internet) uunet!sunquest!terry (Usenet) terry@sds.sdsc.edu (alternate address; I live in Tucson) Quote: "Do, or do not. There is no 'try'." - Yoda, The Empire Strikes Back