GetUDPAttribute
- Updated2023-02-21
- 1 minute(s) read
GetUDPAttribute
int GetUDPAttribute (unsigned int channel, int attribute, void *attributeValue);
Purpose
Obtains the value of a UDP channel attribute.
Parameters
Input | ||
Name | Type | Description |
channel | unsigned int | A handle that uniquely identifies an open UDP communication endpoint. |
attribute | int | The UDP channel attribute to obtain. |
Output | ||
Name | Type | Description |
attributeValue | void * | The value of the specified UDP channel attribute. The data type for this parameter depends on the data type of the attribute you specify for the attribute parameter. Pass the address of a variable of the same data type of the attribute you pass to attribute. |
Return Value
Name | Type | Description |
status | int | Return value indicating whether the function was successful.
Zero indicates successful execution and a negative number indicates that an error occurred. Call the GetUDPErrorString function to obtain a message that describes the error. |
Additional Information
Library: UDP Support Library
Include file: udpsupp.h
LabWindows/CVI compatibility: LabWindows/CVI 8.5 and later