SpiecsEngine
 
Loading...
Searching...
No Matches

◆ ~Socket()

Spices::Net::Socket::~Socket ( )
virtual

Destructor Function.

Definition at line 14 of file Socket.cpp.

15 {
17
18 if(::closesocket(m_SocketFd) < 0)
19 {
20 std::stringstream ss;
21 ss << "Socket::Close failed, socket fd: " << m_SocketFd << " Error: " << WSAGetLastError();
22
23 SPICES_CORE_CRITICAL(ss.str())
24 }
25 }
#define SPICES_PROFILE_ZONE
SOCKET m_SocketFd
This socket fd.
Definition Socket.h:142