• 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: Monitor Magic packet(wake on lan packet )
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monitor Magic packet(wake on lan packet )


  • Subject: Re: Monitor Magic packet(wake on lan packet )
  • From: Jason Stephenson <email@hidden>
  • Date: Mon, 08 Dec 2008 09:02:15 -0500

sheen mac wrote:
In my app,I want to monitor the magic packet .
Where I will get more info about this. Could give some link for this?.I found a command tcpdump,
Could I use this for wol packet monitoring?.

As Andrew Farmer pointed out, you don't typically monitor for the magic packet, since it is used to wake your computer from sleep or to turn it on remotely.


The packet is sent as an UDP broadcast on the LAN and can be sent to any port, though port 9 seems to be commonly used among the sample WOL broadcaster apps available on the 'Net.

If you wanted to monitor for WOL broadcasts on your LAN, then you might want to monitor port 9 for incoming UDP connections and log anything that arrives. I'm pretty sure that tcpdump can do that, though I've never used it. If you're trying to debug an existing WOL application, then you'll want to listen on whatever port it sends to.

A WOL monitor would make for a decent first server exercise for a class in network programming. Bonus points to the student who can explain why WOL won't work over IPv6.


Cheers, Jason _______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Monitor Magic packet(wake on lan packet ) (From: sheen mac <email@hidden>)

  • Prev by Date: Re: NSArrayController, NSPopupMenu, defaults and arrangedObjects
  • Next by Date: Re: how to manage two nib files
  • Previous by thread: Re: Monitor Magic packet(wake on lan packet )
  • Next by thread: What does 'DO' mean?
  • Index(es):
    • Date
    • Thread