Hello,
what does "bit 8-30: instance id" as comment in the definition of "fd" mean?
Convenience bits. :)
If task A closes a file descriptor, the structure returns to the global pool of used sockets. If now task B creates a new socket, it may get the same structure (thus the same socket index), but the instance id will be incremented by one. This avoids that task A can mistakenly continue to use the old file descriptor. Well-written software will of course not - but in case...
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

