First of all thanks to everybody that may help you or even just read my post.
I am pretty new to C programming, even more to socket programming and I have a problem...Sure otherwise I wouldn't ask for help
I have a coded a multicast program which listen querries on a multicast address and then send back information through unicast address.
My problem comes from the sendto, when I send back via unicast on my server I have many interface and I would like to choose the interface that is in my LAN not the one in the internet....
How should I specify which interface to use on my own server with sendto()?
I beleive this is quite a common question but I cannot find any answer or topic....Unfortunately.
PS: I dont think that code is needed for now but let me know if you need piece of my code.