| 64 | } |
| 65 | |
| 66 | void cppnet::CCppNet::SetConnectionCallback(const connection_call_back& func) { |
| 67 | _cppnet_instance->SetConnectionCallback(func); |
| 68 | } |
| 69 | |
| 70 | #ifndef __linux__ |
| 71 | bool cppnet::CCppNet::Connection(const std::string& ip, int16_t port, const char* buf, int32_t buf_len) { |