For C++ database applications the APIs for managing network communications are exactly as for C applications. Please see the Managing Network Communications in C page for details.