Projects / OSSP sa


OSSP sa is an abstraction library for the Unix socket application programming interface (API). It features stream and datagram oriented communication over Unix Domain and Internet Domain (TCP and UDP) sockets. It provides the following key features: address abstraction (local, IPv4, and IPv6), type abstraction, I/O timeouts, I/O stream buffering, and convenience I/O functions.

Operating Systems

Recent releases

  •  12 Oct 2005 14:32

    Release Notes: SA_SYSCALL_GETHOSTBYNAME was removed. This fixed compilation on platforms without IPv6 APIs.

    •  02 Oct 2005 19:10

      Release Notes: Adds the pkg-config(1) specification sa.pc. Upgrades the build environment to GNU libtool 1.5.20 and GNU shtool 2.0.3. Follows FlexeLint suggestions and "constifies" some API function parameters.

      •  29 Jan 2005 13:59

        Release Notes: This release fixes timeout handling in various functions by fixing the internal select(2) usage. The timeout structure has been (standard compliantly) modified in place on some platforms (like Linux), so its values have to be preserved before calls to select(2).

        •  24 Jan 2005 19:28

          Release Notes: This release adds casts to NULL pointers passed to variadic functions because NULL is not guaranteed to be a pointer. SA_SYSCALL_GETHOSTBYNAME has been added for supporting the overloading of gethostbyname(2) system calls. The build environment has been upgraded to GNU libtool 1.5.10 and GNU shtool 2.0.1.

          •  26 Jun 2004 14:39

            Release Notes: This release allows negative values for SA_OPTION_LINGER to cover the special case of l_onoff=1/l_linger=0 in which a TCP RST-based connection termination is performed on close(2), provides an Autoconf check va_copy(d,s) macro and fallback implementations, and removes the obsolete "#undef socklen_t" from sa.h.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.