<-- Back

openUDP

Script that opens a UDP Socket

Inputs

Outputs

Use

1. import XPlaneConnect.*;
2. Socket = openUDP(49005);%Open socket at port 49005 with timeout of 0.1 seconds

or

2. Socket = openUDP(49005,200);%Open socket at port 49005 with timeout of 0.2 seconds

Change Log

10/02/14: [CT] V0.9: Updated to work with updated xpcPlugin
09/12/13: [CT] Added optional timeout input argument
09/10/13: [CT] Code created

<-- Back