Networking Forums

Networking Forums > Computer Networking > Linux Networking > SO_BINDTODEVICE socket option

Reply
Thread Tools Display Modes

SO_BINDTODEVICE socket option

 
 
Gaurav
Guest
Posts: n/a

 
      04-26-2007, 12:36 PM

Hi All,

I want my socket application to send packets through a particular
interface.
Can SO_BINDTODEVICE option help me to get this?

The Linux man page says using SO_BINDTODEVICE will help the socket
application to "receive" packets from a particular interface. If this
is true, then please suggest some way to send packets through a
particular interface.

Thanks and regards,
Gaurav

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SO_BINDTODEVICE socket option on an aliased interface Christophe Lohr Linux Networking 4 01-23-2009 09:19 PM
Is there a socket option to set the fwmark? Christophe Lohr Linux Networking 0 01-07-2009 03:58 PM
SO_BINDTODEVICE Florian Weingarten Linux Networking 3 12-18-2008 10:19 AM
Re: Why does SO_BINDTODEVICE require root? David Schwartz Linux Networking 1 10-08-2008 10:22 PM
WLAN Monitor 10038 Socket operation on non-socket Bill Windows Networking 1 03-01-2004 10:34 PM



1 2 3 4 5 6 7 8 9 10 11