Navigation:  thinBasic Modules > TcpUdp > UDP functions >

UDP_Send

Previous pageReturn to chapter overviewNext page

 

Description

 

Write a string to a previously opened channel.

 

Syntax

 

n = UDP_Send(nFile, nIP, nPort, sBuffer)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

nFile

Number

No

A file channel previously open with UDP_Open

nIP

Number

No

IP number to send data to

nPort

Number

No

UDP port number to send data to

sBuffer

String

No

Any string expression containing the data to send

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

 

 

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