The Adaptive Server ODBC Driver now supports AF_UNIX sockets to communicate to Adaptive Server. This support is currently limited to the Linux x86-64 64-bit platform. You can use the AF_UNIX socket when both the ODBC application and Adaptive Server are located on the same host, and both are configured to use AF_UNIX sockets. The AF_UNIX sockets provide better performance than TCP/IP sockets. To enable AF_UNIX sockets from ODBC, set these connection strings properties:
networklibraryname=afunix – informs the Adaptive Server ODBC Driver that AF_UNIX socket is used.
server=<full path to the pipe> – path to the AF_UNIX socket. For example, /tmp/test/demo_socket.
See the Sybase Adaptive Server Enterprise documentation for more information on configuring Adaptive Server to use AF_UNIX sockets.