![]() |
SetLastError() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Protected Function |
Declared in: SpoofBase.h |
Declaration
void SetLastError(
LPCSTR lpMethod) const;
DescriptionSet the socket last error
Function Body
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")
See Also
This web site was generated
using Surveyor V4.50.811.1. Click
here
for more information. |
Site content copyright © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001. |