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

Method Bind

deps/FtpClient/BlockingSocket.cpp:113–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void CBlockingSocket::Bind(LPCSOCKADDR psa) const
114{
115 ASSERT( psa != NULL );
116 ASSERT( m_hSocket!=INVALID_SOCKET );
117 if( bind(m_hSocket, psa, sizeof(SOCKADDR))==SOCKET_ERROR )
118 {
119 throw CBlockingSocketException(_T("Bind"));
120 }
121}
122
123void CBlockingSocket::Listen() const
124{

Callers 1

Calls 1

Tested by

no test coverage detected