bool CYRecvAll_(int socket, uint8_t *data, size_t size);
bool CYSendAll_(int socket, const uint8_t *data, size_t size);
bool CYRecvAll_(int socket, uint8_t *data, size_t size);
bool CYSendAll_(int socket, const uint8_t *data, size_t size);
double CYCastDouble(const char *value, size_t size);
double CYCastDouble(const char *value);
double CYCastDouble(const char *value, size_t size);
double CYCastDouble(const char *value);
template <typename Type_>
bool CYRecvAll(int socket, Type_ *data, size_t size) {
template <typename Type_>
bool CYRecvAll(int socket, Type_ *data, size_t size) {