IWSDUdpAddress::SetExclusive method (wsdbase.h)
Controls whether the socket is in exclusive mode.
Syntax
HRESULT SetExclusive(
[in] BOOL fExclusive
);
Parameters
[in] fExclusive
A value of TRUE indicates that the socket should be set to exclusive mode. A value of FALSE indicates that the socket should not be in exclusive mode.
Return value
This method can return one of these values.
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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for