kernel - Multicast packets not received if socket was bind without network cable -


i've got c++ application running on busybox (kernel 3.0.35 arm) listens multicast packets. seemed working fine until discovered if start app network cable unplugged , plug in later won't received multicast packets. can't figure out why. there no error, setting operations (bind, setsockopt, ...) finish successfully, ip maddr shows correct information well. select() won't report incoming data. there kernel differently if link not up?

interestingly same app sends multicast packets on different addresses , doesn't seem affected link status, it's happily transmitting once plug cable in.

any ideas?

thanks, tom

presumably issue join when startup. if cable isn't plugged in, igmp join request can't go anywhere, router doesn't know send multicasts you.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -