![]() |
Create() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Public Function |
Declared in: WhoisSocket.h |
virtual BOOL Create();
Create this socket as a regular socket
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)
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |