Hello Jan, > >if I look up a pointer to a socket with the function rt_socket_lookup(), > >an reference counter in the sockets structure is incremented. What do I > >have to do to get this counter decremented after I do not need the pointer > >to the socket any more? > > http://www.rts.uni-hannover.de/rtnet/lxr/source/include/rtnet_socket.h#L109
I have seen this function, but if I call it after I do not need the pointer any more, the socket will be kind of cleaned up. At least the sockets semaphore wakeup_event will be deleted: http://www.rts.uni-hannover.de/rtnet/lxr/source/socket.c#L117 -- Hans-Peter Bock Dipl.-Ing. ISW - Universitaet Stuttgart Rosenbergstr. 28 D-70174 Stuttgart http://www.isw.uni-stuttgart.de/
signature.asc
Description: Digital signature

