Internet Direct (Indy) Version 9.0.1 Beta
|
function CreateSocketHandle(const ASocketType: Integer; const AProtocol: Integer): TIdStackSocketHandle;
On the Windows platform, CreateSocketHandle calls the WSSocket function. If an error occurs while creating the new socket descriptor, an EIdInvalidSocket exception is raised.