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.
|Tags||Software Development Libraries|
Release Notes: SA_SYSCALL_GETHOSTBYNAME was removed. This fixed compilation on platforms without IPv6 APIs.
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.
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).
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.
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.