MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / SetTimeout

Method SetTimeout

src/FTPClientWrapperSSL.cpp:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69int FTPClientWrapperSSL::SetTimeout(int timeout) {
70 int ret = FTPClientWrapper::SetTimeout(timeout);
71 m_client.SetConnectTimeout(timeout);
72 m_client.SetReceiveTimeOut(timeout*1000);
73 m_client.SetSendTimeOut(timeout*1000);
74
75 return ret;
76}
77
78int FTPClientWrapperSSL::Connect() {
79 if (m_connected)

Callers 1

CloneMethod · 0.45

Calls 3

SetConnectTimeoutMethod · 0.80
SetReceiveTimeOutMethod · 0.80
SetSendTimeOutMethod · 0.80

Tested by

no test coverage detected