TrialKey
SocketQ C++ Classes
SocketQ C++ Classes
  • Overview
    • Requirements
    • Performance and Design Considerations
    • Technical Support
    • Using SocketQ Classes
  • API Reference
    • Properties
      • ChunkSize
      • ConnectionCount
      • IsActive
      • LastSockErr
      • LocalHostIP
      • LocalHostIPAliases
      • LocalHostName
      • LocalHostNameAliases
      • SocketInfoDescription
      • SocketInfoHighVersion
      • SocketInfoSystemStatus
      • SocketInfoVersion
      • Users
    • Methods
      • ActivateWinsock
      • AddListener
      • CloseSock
      • ConnectSock
      • GetErrorDescription
      • IsListener
      • ItemExists
      • LocalIP
      • LocalPort
      • NotifyOnEmptySendQue
      • RemoteHostIP
      • RemoteHostIPAliases
      • RemoteHostName
      • RemoteHostNameAliases
      • RemotePort
      • SendData
      • SetSockOption
      • TransmitFileByName
    • Events
      • ConnectionEstablished
      • ConnectionRequest
      • ConnectionTerminated
      • DataArrival
      • EmptySendQue
      • Error
    • Constants
      • SQ_PROTOCOL
      • SQ_TRANSMITFILE_FLAGS
      • SQ_SOCK_OPTION
      • SQ_GENERAL_ERRORS
Powered by GitBook
On this page
  • Description
  • Remarks
  • Data Type
  1. API Reference
  2. Properties

LastSockErr

Description

Returns the last socket error that occurred

Remarks

Returns the last socket error that occurred. Note that once the error is retrieved, the property is cleared. Use this property to catch errors when calling methods like the ConnectSock method, or the AddListener method. The error numbers returned by this property are standard Winsock errors.

Data Type

LONG

PreviousIsActiveNextLocalHostIP

Last updated 3 years ago