![]() |
Create() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Public Function |
Declared in: WhoisSocket.h |
Declarationvirtual BOOL Create();
DescriptionCreate this socket as a regular socket
Function Body
try
{
//Try to create it
if (CTCPSocketAsync::Create())
{
if (!m_bAsync)
{
if (!ReBlock())
{
//Report it
ReportError("CreateRegular","Failed to reblock!");
//Exit
return FALSE;
}
//Set it on the receive
if (!SetReceiveTimeout(m_dwTimeout))
{
//Report it
ReportError("CreateRegular","Failed to set timeout!");
//Exit
return FALSE;
}
}
//Done
return TRUE;
}
else
return FALSE;
}
ERROR_HANDLER_RETURN("Create",FALSE)
See Also
This web site was generated
using Surveyor V4.50.811.1. Click
here
for more information. |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |