Navigation:  thinBasic Modules > TcpUdp (Networking) > UDP functions >

UDP_Open

Previous pageReturn to chapter overviewNext page

 

Description

 

Open a UDP channel for communication.

 

Syntax

 

n = UDP_Open(nFileID [, nTimeOut])

 

Returns

 

Number.

Returns error code.

 

Parameters

 

Name

Type

Optional

Meaning

nFileID

Number

No

A file channel. Use UDP_FreeFile to get first available file ID.

nTimeOut

Number

Yes

Timeout in milliseconds

 

Remarks

 

Restrictions

 

See also

 

Examples