# XPlaneConnect Toolbox-closeUDP

<-- Back

# closeUDP

Script that closes a UDP Socket

## Inputs

- Socket: UDP Socket to be closed

## Outputs

- Status: Integer indicating the success of socket closing. 1 = Success 0 = Failure

## Use

1. import XPlaneConnect.*;
2. Socket = openUDP(49005);
3. Status = closeUDP(Socket);

## Change Log

10/02/14: [CT] V0.9: Updated to work with updated xpcPlugin
09/10/13: [CT] Code created
<-- Back