----- Den 3 jun 2019, på kl 11:06, xenomai xenomai@xenomai.org skrev:

> Hi,

> My program opens a RTnet socket successfully but the program gets killed
> by a different issue that has nothing to do with this. However, the
> RTnet socket is still bound. If I try to start the program again i get
> the error "Address already in use". If it would be a normal unix socket
> I would simply call it with SO_REUSEADDR but this is not possible with
> RTnet from what I understand.

I tried this and failed miserably. That said, I'm also interested in the answer 
to this question. 

> My question is why the socket is not unbound after the binding process
> is killed and if there is a way to reclaim this socket. By the way, it
> has to be this socket since the communication partner expects the server
> to listen on this exact port.

> Cheers,

> Johannes

Per Öberg 

Reply via email to