Hi! I have a quick question. If I have a multi home PC, Where do I specify which interface to use when sending out multicast msg? Below is my code, this is not the best example out there, could someone please pass me a good example how to construct a multicast socket to send message? Many thanks in advance!
One more question though. How do I verify(from shell) which interface am I using to send the packets? I had to ask our network admin to check from the router, but that's sort of inconvenient ...
netstat -ng only shows you subscription, but not sending.