Cannot create/connect server with c++ code.

Documentation for others who might stumble onto this post