ITcpipSocket::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

ComponentVersion, SpecVersion, HardwareInterfaceName, HardwareInterfaceNumber, HardwareInterfaceType, LockState, OptionString, ProgID, ResourceName, SessionType, SoftwareManufacturerID, SoftwareManufacturerName, Timeout, LastStatus, Address, HostName, KeepAlive, NoDelay, Port, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, SetBufferSize, Flush, ITcpipSocket Overview