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

Method CloseControlChannel

deps/FtpClient/FTPClient.cpp:417–429  ·  view source on GitHub ↗

Closes the control channel to the FTP server.

Source from the content-addressed store, hash-verified

415
416/// Closes the control channel to the FTP server.
417void CFTPClient::CloseControlChannel()
418{
419 try
420 {
421 m_apSckControlConnection->Close();
422 m_apCurrentRepresentation.reset(NULL);
423 }
424 catch(CBlockingSocketException& blockingException)
425 {
426 blockingException.GetErrorMessage();
427 m_apSckControlConnection->Cleanup();
428 }
429}
430
431/// Analyse the repy code of a FTP server-response.
432/// @param[in] Reply Reply of a FTP server.

Callers

nothing calls this directly

Calls 4

GetErrorMessageMethod · 0.80
CleanupMethod · 0.80
CloseMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected