ITcpipSocket2::Port

Description

Specifies the port number for a given TCPIP address. For a TCPIP SOCKET resource, this is a required part of the address string.

VB Prototype

Dim value As Short
value = object.Port

C++ Prototype

HRESULT get_Port(
  short* Port
);

Return Value

Refer to the table of return codes.

See Also

Address, Close, ComponentVersion, Flush,GetAttribute, HardwareInterfaceName, HardwareInterfaceNumber, HardwareInterfaceType, HostName, Init, KeepAlive, LockRsrc, LastStatus, , LockState, NoDelay, OptionString, Port, , ProgID, ResourceName, ServerCertificate, ServerCertificateExpirationDate, ServerCertificateIsPerpetual, ServerCertificateIssuerName, ServerCertificateSubjectName, SessionType, SetAttribute, SetBufferSize, SoftwareManufacturerID, SoftwareManufacturerName, SpecVersion, Timeout, TlsCipherSuite , UnlockRsrc, ITcpipSocket2 Overview