Implementation considerations
- Only the AF_INET address family must be supported.
That is, the DSOM, Replication, and Event Manager frameworks all use Internet
addresses and port numbers to refer to specific sockets.
- On OS/2, the SOMobjects run-time libraries were built
using the C Set/2 32-bit compiler. If the underlying subclass implementation
uses a 16-bit subroutine library, conversion of the method call arguments
may be required. (This mapping of arguments is often referred to as "thunking.")
- Sockets subclasses to be used in multi-threaded
environments should be made thread-safe. That is, it is possible that concurrent
threads may make calls on the (single) Sockets object, so data structures
must be protected within critical regions, as appropriate.
- Valid values for the serrno attribute are defined
in the file soms.h. The subclass implementation should map local
error numbers into the appropriate corresponding Sockets error numbers.
[Back: IDL for a Sockets subclass]
[Next: Example code]