UDP Close Function
- Updated2025-03-14
- 2 minute(s) read
Closes a UDP socket.

Inputs/Outputs
![]() connection ID is a network connection refnum that uniquely identifies the UDP socket you want to close. ![]() error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality. This node runs normally even if an error occurred before this node runs. ![]() connection ID out has the same value as connection ID. Do not wire this output to other UDP functions. ![]() error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Data Communication\Protocols\UDP\UDP Multicast\UDP Multicast.lvproj
- labview\examples\Data Communication\Protocols\UDP\Simple UDP\Simple UDP.lvproj