![]() |
SetLastError() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Protected Function |
Declared in: SpoofBase.h |
void SetLastError( LPCSTR lpMethod) const;
Set the socket last error
try { #ifdef WIN32 //First set the error m_LastError=WSAGetLastError(); #else m_LastError=errno(); #endif //Check if there is an error if (m_LastError) ReportError(m_lpClassName,m_LastError); } ERROR_HANDLER("SetLastError")
![]() |
Site content copyright © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001. |