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
No, not rt_socket_release (is for internal use only anyway), *rt_socket_dereference*!
Jan
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ RTnet-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/rtnet-users

