MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / Cleanup

Method Cleanup

deps/FtpClient/BlockingSocket.cpp:93–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void CBlockingSocket::Cleanup()
94{
95 // doesn't throw an exception because it's called in a catch block
96 if( m_hSocket==INVALID_SOCKET )
97 return;
98
99 VERIFY( closesocket(m_hSocket)!=SOCKET_ERROR );
100
101 m_hSocket = INVALID_SOCKET;
102}
103
104void CBlockingSocket::Create(int nType /* = SOCK_STREAM */)
105{

Callers 8

OpenControlChannelMethod · 0.80
CloseControlChannelMethod · 0.80
SendDataMethod · 0.80
ReceiveDataMethod · 0.80
SendCommandMethod · 0.80
GetSingleResponseLineMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected