Hi,
I want to send data to the peer though specific device(ex. ppp0, ppp1).
I made many ppp device. I could select a specific device in Linux by
‘setsockopt with BINDTODEVICE’. But I couldn’t find the socket option in
QNXRTP.
How can I select a specific device.
If you have any answer, plz let me know.
Thanks.
grep BINDTODEVICE /usr/include//.h
/usr/include/sys/socket.h:#define SO_BINDTODEVICE 0x0800
It’s currently only implemented for udp sockets.
-seanb
Hoon Jung <hjung@3ic.co.kr> wrote:
: Hi,
: I want to send data to the peer though specific device(ex. ppp0, ppp1).
: I made many ppp device. I could select a specific device in Linux by
: ‘setsockopt with BINDTODEVICE’. But I couldn’t find the socket option in
: QNXRTP.
: How can I select a specific device.
: If you have any answer, plz let me know.
: Thanks.
Thanks for your help!
“Sean Boudreau” <seanb@qnx.com> wrote in message
news:9rmbon$ql9$1@nntp.qnx.com…
grep BINDTODEVICE /usr/include//.h
/usr/include/sys/socket.h:#define SO_BINDTODEVICE 0x0800
It’s currently only implemented for udp sockets.
-seanb
Hoon Jung <> hjung@3ic.co.kr> > wrote:
: Hi,
: I want to send data to the peer though specific device(ex. ppp0, ppp1).
: I made many ppp device. I could select a specific device in Linux by
: ‘setsockopt with BINDTODEVICE’. But I couldn’t find the socket option in
: QNXRTP.
: How can I select a specific device.
: If you have any answer, plz let me know.
: Thanks.