creationsetr.blogg.se

8063 quad platform docs
8063 quad platform docs









8063 quad platform docs
  1. #8063 QUAD PLATFORM DOCS PORTABLE#
  2. #8063 QUAD PLATFORM DOCS SOFTWARE#

#8063 QUAD PLATFORM DOCS PORTABLE#

* * = * * Author: Anton Lavrentiev, Denis Vakatov * * File Description: * Plain portable TCP/IP socket API for: UNIX, MS-Win, MacOS * -DNCBI_OS_UNIX -lresolv -lsocket -lnsl * -DNCBI_OS_MSWIN ws2_32.lib * */ /* Uncomment these(or specify "-DHAVE_GETADDRINFO -DHAVE_GETNAMEINFO") only if: * 0) you are compiling this outside of the NCBI C or C++ Toolkits * (USE_NCBICONF is not #define'd), and * 1) your platform has "getaddrinfo()" and "getnameinfo()", and * 2) you are going to use this API code in multi-thread application, and * 3) "gethostbyname()" gets called somewhere else in your code, and * 4) you are aware that GLIBC implementation is rather heavy (creates tons of * test sockets on the fly), yet you prefer to use that API nonetheless */ /* #define HAVE_GETADDRINFO 1 */ /* #define HAVE_GETNAMEINFO 1 */ /* Uncomment this (or specify "-DNCBI_HAVE_GETHOSTBY***_R=") only if: * 0) you are compiling this outside of the NCBI C or C++ Toolkits * (USE_NCBICONF is not #define'd), and * 1) your platform has "gethostbyname_r()" but not "getnameinfo()", and * 2) you are going to use this API code in multi-thread application, and * 3) "gethostbyname()" gets called somewhere else in your code */ /* Solaris: */ /* #define NCBI_HAVE_GETHOSTBYNAME_R 5 */ /* #define NCBI_HAVE_GETHOSTBYADDR_R 7 */ /* Linux, IRIX: */ /* #define NCBI_HAVE_GETHOSTBYNAME_R 6 */ /* #define NCBI_HAVE_GETHOSTBYADDR_R 8 */ /* Uncomment this (or specify "-DHAVE_SIN_LEN") only if: * 0) you are compiling this outside of the NCBI C or C++ Toolkits * (USE_NCBICONF is not #define'd), and * 1) on your platform, struct sockaddr_in contains a field called "sin_len" * (and sockaddr_un::sun_len is then assumed to be also present). * * Please cite the author in any work or product based on this material.

8063 quad platform docs

* Government disclaim all warranties, express or implied, including * warranties of performance, merchantability or fitness for any particular * purpose.

#8063 QUAD PLATFORM DOCS SOFTWARE#

* Government do not and cannot warrant the performance or results that * may be obtained by using this software or data. * * Although all reasonable efforts have been taken to ensure the accuracy * and reliability of the software and data, the NLM and the U.S. * Government have not placed any restriction on its use or reproduction. The National Library of Medicine and the U.S.

8063 quad platform docs

This software/database is freely available * to the public for use. It was written as part of * the author's official duties as a United States Government employee and * thus cannot be copyrighted. * $Id: ncbi_socket.c 99004 16:22:28Z lavr $ * = * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under the * terms of the United States Copyright Act.











8063 quad platform docs