Hey,
osmo_sock_init is nice but I have hit a missing feature. I want to be able to make an outgoing connection but need to specify the src ip (and maybe src port too).
a.) I could extend osmo_sock_init to have a src_ip and src_port in the parameter and issue a bind between the socket(2) and connect(2).
b.) I could add a cb function that is passing the fd to the cb and do the bind (or others do setsockopt).
Any other ideas? Preferences? Comments?
holger