sol_socket so_bindtodevice alternative
sol_socket so_bindtodevice alternative
- Subject: sol_socket so_bindtodevice alternative
- From: Hado Hein <email@hidden>
- Date: Sat, 04 Jan 2014 21:43:11 +0100
I’m trying to find a solution to send udp broadcasts over a specific network interface.
Binding to an address is not an option.
Since so_bindtodevice is not available on Darwin I’m looking for an alternative.
I have two ethernet interfaces which both go to different class c subnets.
The first interface has also a gateway set (Internet).
Now I need to send a broadcast to a class a device physically on the second ethernet port. Neither of these (interface nor class a device) can change their ip or their subnet.
Is there a possibility to achieve this at userlevel?
thx,
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden