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

Method Create

deps/FtpClient/BlockingSocket.cpp:104–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void CBlockingSocket::Create(int nType /* = SOCK_STREAM */)
105{
106 ASSERT( m_hSocket==INVALID_SOCKET );
107 if( (m_hSocket=socket(AF_INET, nType, 0))==INVALID_SOCKET )
108 {
109 throw CBlockingSocketException(_T("Create"));
110 }
111}
112
113void CBlockingSocket::Bind(LPCSOCKADDR psa) const
114{

Callers 3

OpenControlChannelMethod · 0.80

Calls 1

Tested by

no test coverage detected