首页 > TAG信息列表 > NetworkImpl
实现0开销的 c++ 接口例子
// network.h class Network { public: bool send(const char* host, uint16_t port, const std::string& message); static Network* New(); static void Delete(Network* network); protected: Network(); ~Network实现0开销的 c++ 接口例子
// network.h class Network { public: bool send(const char* host, uint16_t port, const std::string& message); static Network* New(); static void Delete(Network* network); protected: Network(); ~Network