Navigation:  thinBasic Modules > TcpUdp > UDP functions >

UDP_Recv

Previous pageReturn to chapter overviewNext page

 

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

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com