PREV UP NEXT C++ socket classes for OS/2

1.3.4: Remove/Add from list

OS/2 sockets are system wide numbers, not descriptors. However, the OS/2 socket library causes a process to close all sockets that it has created when the process exits. However, OS/2 does provide a way to "pass" the responsibility for closing a socket from one process to another. OS/2's socket library has the functions removesocketfromlist and addsockettolist to remove or add respectively, the responsibility for closing a socket. Equivalent member functions have been added to sockbuf. However, these member functions can be IFDEF'ed out by defining "NOTOLIST".