Topic Path: Symbol Reference > Classes > TIdStackBSDBase Class > TIdStackBSDBase Methods > WSGetLastError Method
TIdStackBSDBase.WSGetLastError Method

Provides access to the last socket error for the protocol stack implementation.

function WSGetLastError: Integer; virtual; abstract;

Integer - Error number for the last socket error.

WSGetLastError is an abstract virtual Integer function that provides access to the last socket error encountered in the protocol stack. 

WSGetLastError must be implemented in a descendant class that provides access to the socket implementation for the protocol stack on the platform or Operating System.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.