• 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
UDP Packet fill in my IP Address
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UDP Packet fill in my IP Address


  • Subject: UDP Packet fill in my IP Address
  • From: email@hidden (Hado Hein)
  • Date: Sun, 14 Nov 2010 10:03:12 +0100
  • Organization: handmade !

I have some devices on the network (the summary of the network settings
pref pane) which I find by sending them an UDP broadcast.

In the packet (struct) I'm sending I have to fill out a field named
"replyIP".
Sending works fine since the network stack broadcasts the packet on the
right interface.

But I have no idea what steps are neccassary to fill out this field in
the packet before in my code?

At the moment I'm collection the up interfaces with a loop
{         int status = getifaddrs(&myaddrs);} and simply use the last
interface found. That's not really satisfying.

thx
--
Hado Hein (KSK, DTHG), Berlin
sip +49.30.91688488
www.beleuchtungsbildner.de - Stage Lighting Directing
www.batchmaker.de - Stage Lighting Design, Control and Routing
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: UDP Packet fill in my IP Address
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Prev by Date: Re: Writing a simple networking filter
  • Next by Date: Steams vs Packets
  • Previous by thread: Re: Writing a simple networking filter
  • Next by thread: Re: UDP Packet fill in my IP Address
  • Index(es):
    • Date
    • Thread