UDP_Recv

<< Click to Display Table of Contents >>

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

UDP_Recv

 

Description

 

Receive data from a previously opened channel.

 

Syntax

 

sBuffer = UDP_Recv(nFile [, SourceIP [, SourcePort]])

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning

nFile

Number

No

A file channel previously open with UDP_Open

SourceIP

Variable

Yes

Any numeric variable. If present, the IP of the sender will be stored

SourcePort

Variable

Yes

Any numeric variable. If present, the port of the sender will be stored

 

Remarks

 

Restrictions

 

See also

 

Examples