Socket factory. Defaults to CreateSockOS(), but can be overridden by unit tests.

Synopsis

Declared in <netbase.h>

extern
std::function<std::unique_ptr<Sock>(int, int, int)> CreateSock;

Created with MrDocs