• 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: SO_BINDTODEVICE or sendto using specific network interface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SO_BINDTODEVICE or sendto using specific network interface


  • Subject: Re: SO_BINDTODEVICE or sendto using specific network interface
  • From: "Duane Murphy" <email@hidden>
  • Date: Thu, 15 Dec 2005 12:24:57 -0800

--- At Thu, 15 Dec 2005 11:52:51 -0800, Josh Graessley wrote:

>The MoreAuthSample from Apple's website covers how to do this. It is
>well documented and works around a number of potentially nasty issues.
>
><http://developer.apple.com/samplecode/MoreAuthSample/
>MoreAuthSample.html>
>
>For a sample that uses MoreAuth, you can grab the BSDLLCTest. You
>will be using MoreAuth to get a bpf file descriptor instead of a
>PF_NDRV socket file descriptor, but it's pretty much the same thing.
>
><http://developer.apple.com/samplecode/BSDLLCTest/BSDLLCTest.html>
>

You can also read in Steven's "Unix Network Programming Volume 1" look
in the index under descriptor/passing.

MoreAuthSample is pretty good, except that it's really showing how to do
authorization (which is something you have to consider), but the
descriptor passing is very simple and very buried. It's there, you just
have to dig for it.

 ...Duane

 _______________________________________________
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

References: 
 >SO_BINDTODEVICE or sendto using specific network interface (From: Alex Telitsine <email@hidden>)
 >Re: SO_BINDTODEVICE or sendto using specific network interface (From: Josh Graessley <email@hidden>)
 >Re: SO_BINDTODEVICE or sendto using specific network interface (From: Alex Telitsine <email@hidden>)
 >Re: SO_BINDTODEVICE or sendto using specific network interface (From: "Peter Sichel" <email@hidden>)
 >Re: SO_BINDTODEVICE or sendto using specific network interface (From: Alex Telitsine <email@hidden>)
 >Re: SO_BINDTODEVICE or sendto using specific network interface (From: "Justin C. Walker" <email@hidden>)
 >Re: SO_BINDTODEVICE or sendto using specific network interface (From: Alex Telitsine <email@hidden>)
 >Re: SO_BINDTODEVICE or sendto using specific network interface (From: "Peter Sichel" <email@hidden>)
 >Re: SO_BINDTODEVICE or sendto using specific network interface (From: Alex Telitsine <email@hidden>)
 >Re: SO_BINDTODEVICE or sendto using specific network interface (From: Josh Graessley <email@hidden>)

  • Prev by Date: Re: SO_BINDTODEVICE or sendto using specific network interface
  • Next by Date: Re: CFNetwork, HTTP and POST messages
  • Previous by thread: Re: SO_BINDTODEVICE or sendto using specific network interface
  • Next by thread: HTTP Pipelining
  • Index(es):
    • Date
    • Thread