Skip to contentSkip to conversation

rtcan sockets not closing

Xenomai-help Roland Tollenaar 1 participant 1 message Aug 13, 2007

lore
Share & tools
lore
#0 lore raw

Hi

On the problem of the overflow warnings that seem to be coming out of nowhere. (Earlier insight showed that I have resident sockets which are not being closed when my application closes, but I have also found that even with one socket only I get buffer overflows which cannot be explained)

Sorry to bother with this, but should

rt_dev_close(can_fd,etc)

not close the socket such that it no longer shows in

/proc/rtcan/sockets ?

I am calling it but it is not fail safe. Sometimes the socket is neatly taken out, othertimes not.

Any suggestions?

Regards,

Roland