• 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: UDP Broadcasts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UDP Broadcasts


  • Subject: Re: UDP Broadcasts
  • From: Jens Bauer <email@hidden>
  • Date: Sat, 27 Apr 2002 11:40:51 +0200

Hi Tomas,

(Sorry for cross-posting, but I believe that there are more people on the
network list, who knows about this)

On Fri, 26 Apr, 2002, Tomas Zahradnicky, Jr. <email@hidden> wrote:

> is possible to make an udp broadcast to look for an entity
> registered somewhere in the subnet and be non root? I haven't found
> any other way which will be cross platform then registering on some
> udp port and wait for broadcasts and respond to the broadcast
> originator with my data. NSL seems to be not working properly and
> ldap module is no longer supported.

As far as I know, any UDP access needs root access.
(anybody, correct me if I'm wrong)

But you have a few options.
You can build a tool, which is installed with root privileges, like the
ping tool.
If you write a GUI application, you should have a look at AuthSample,
which brings up a dialogbox asking for an administrator name and password.

I do not know if there are any high-level services, which sends "known"
UDP packets.

You should think of it like this:
Is it possible for your application/tool to do any damage or behave in a
bad manner, such as pumping data out on the network, which uses a lot of
bandwidth, *then* you need to ask the administrator for permission.
-So if the owner of the computer can be accused for anything, he has to
"sign a paper", which in this case is a dialogbox. ;)


Love,
Jens

--
Jens Bauer, Faster Software.
-Let's make the World better, shall we ?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >UDP Broadcasts (From: "Tomas Zahradnicky, Jr." <email@hidden>)

  • Prev by Date: Environment of NSTask
  • Next by Date: Re: Environment of NSTask
  • Previous by thread: UDP Broadcasts
  • Next by thread: Environment of NSTask
  • Index(es):
    • Date
    • Thread