Internet Direct (Indy)
Home
PreviousUpNext
TIdStackBSDBase.WSGetLastError Method

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

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.