• 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
Finding a device id through which TCP packet is sent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finding a device id through which TCP packet is sent


  • Subject: Finding a device id through which TCP packet is sent
  • From: "parag vibhute" <email@hidden>
  • Date: Wed, 30 May 2007 19:58:48 +0530

Hi all,

This is my first mail & I have following objectives to do.
1. Suppose there are more that one network connections (like one through ethernet card & other through airport) are present from mac. Now I have made TCP connection using BSD socket API. I want to get device id (stuff like that) of network device through which my TCP packet is getting sent (or u can say my TCP communication is going on). I will use this device id as mentioned in following step.
2. Now when any connection status changes ( say network cable gets disconnected), I want to get notification of that. Also want to know device id whose network status is changed.
3. Then I will compare this device id ( whose network status is changed) with the device id ( through which my TCP communication was going on). If match is found then I will inform user otherwise I will just ignore it.

Please tell me how should I proceed?

Thanks,
Palav

--
There are many things in your life that will catch your eye but only a few will catch your heart....pursue those'
.
 _______________________________________________
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: Finding a device id through which TCP packet is sent
      • From: "Justin C. Walker" <email@hidden>
  • Prev by Date: Re: HTTP server sample?
  • Next by Date: Re: Finding a device id through which TCP packet is sent
  • Previous by thread: Re: HTTP server sample?
  • Next by thread: Re: Finding a device id through which TCP packet is sent
  • Index(es):
    • Date
    • Thread