UDP_Send

<< Click to Display Table of Contents >>

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

UDP_Send

 

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