| 816 | } |
| 817 | |
| 818 | void CSockLink::Destroy() |
| 819 | { |
| 820 | CDestLinks* dstlink = (CDestLinks*)_parents; |
| 821 | if (NULL == dstlink) |
| 822 | { |
| 823 | MTLOG_ERROR("socket link without parents ptr, maybe wrong"); |
| 824 | delete this; |
| 825 | } |
| 826 | else |
| 827 | { |
| 828 | MTLOG_DEBUG("socket link just free"); |
| 829 | dstlink->FreeSockLink(this); |
| 830 | } |
| 831 | } |
| 832 | |
| 833 | int32_t CSockLink::CreateSock() |
| 834 | { |
no test coverage detected