Re: recv list
From: Kurt Van Dijck <hidden>
Date: 2012-01-09 09:33:20
On Fri, Jan 06, 2012 at 06:25:59PM +0000, Wolfgang wrote:
Now I have a different question, is it possible to bind different sockets with different src.addr to one interface.
of course, yes.
Because it is saying 'bind failed: Device
or resource busy' if I want to do this ('$ip addr add j1939 0x01 dev can0' is
working, of course)It should work. Since '$ ip addr add ...' worked, there must be something in the code. I look in the code for this. Did I understand well that only the first bind() succeeds?
Or do I have to do this with recvmsg()?
no, wrong idea.
Because as you know I want keep the various src address'.
I understand your goal...
Kind regards, Wolfgang -- To unsubscribe from this list: send the line "unsubscribe linux-can" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html