![]() |
SetLastError() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Protected Function |
Declared in: SpoofBase.h |
void SetLastError( const std::string& rMethod) const;
Set the socket last error
try { #ifdef WIN32 //First set the error m_iLastError=WSAGetLastError(); #else m_iLastError=errno(); #endif //Check if there is an error if (m_iLastError) ReportError(rMethod, m_iLastError); } ERROR_HANDLER("SetLastError")
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |