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

LocalHostIP

Description

Returns the local hosts IP main address.

Remarks

Returns a string that contains the local hosts (main) IP address. For machines with more than one NIC card or host name, use the LocalHostIPAliases property and the LocalHostNameAliases property. To determine which local IP address a connection is connected to (for machines with more than one NIC card), use the LocalIP method.

Data Type

CHAR*

PreviousLastSockErrNextLocalHostIPAliases

Last updated 3 years ago