[C++ Toolkit ANNOUNCE] New C++ interface in connect library

Anton Lavrentiev lavr at ncbi.nlm.nih.gov
Mon Aug 12 12:13:20 EDT 2002


Dear all:

New C++ class CSocket has been introduced in xconnect library of
C++ Toolkit. It is mostly the wrapper class around underlying
C interface <connect/ncbi_socket.h>, but having additional
pros of using C++ language.

The classes are CSocket, CListeningSocket and CSocketAPI,
all defined in

<connect/ncbi_socket.hpp> (take a look!)

All member methods but CSocketAPI::Poll() are inlined
for faster and efficient access. CSocketAPI::Poll() is
implemented out-of-line in src/connect/ncbi_socket_cxx.cpp

The modules have been just added to CVS and should
be available with the next successful C++ build.

Should you have further question with regard to this addition,
please contact me or Denis Vakatov (vakatov).

Have fun,


Anton Lavrentiev



More information about the cpp-announce mailing list