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

Method Connect

deps/FtpClient/BlockingSocket.cpp:167–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167void CBlockingSocket::Connect(LPCSOCKADDR psa) const
168{
169 ASSERT( psa != NULL );
170 ASSERT( m_hSocket!=INVALID_SOCKET );
171 // should timeout by itself
172 if( connect(m_hSocket, psa, sizeof(SOCKADDR))==SOCKET_ERROR )
173 {
174 throw CBlockingSocketException(_T("Connect"));
175 }
176}
177
178int CBlockingSocket::Write(const char* pch, int nSize, int nSecs) const
179{

Callers 2

OpenControlChannelMethod · 0.80

Calls 1

Tested by

no test coverage detected