IWSDTransportAddress::SetPort method (wsdbase.h)
Sets only the IP port number for this transport address.
Syntax
HRESULT SetPort(
[in] WORD wPort
);
Parameters
[in] wPort
The IP port number for the address object.
Return value
Possible return values include, but are not limited to, the following:
Return code | Description |
---|---|
|
Method completed successfully. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wsdbase.h (include Wsdapi.h) |
DLL | Wsdapi.dll |