Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SO_BINDTODEVICE or sendto using specific network interface



I have to send  UDP data from OSX, dual-ethernet system over two sattelite phones simultaneously.

So far, it seems that MacOSX is always determenes what interface to use based on destination (sendto) address only.
 
In Window, it is enough to “bind” socket to specific IP/interface instead of ANY_ADDR, Linux has SO_BINDTODEVICE  
(
)
 
Any advise on how to archive it on Mac OSX ?
 
Thanks,
@
 
 
 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.