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

TCP_Recv

Previous pageReturn to chapter overviewNext page

 

Description

 

Receive data from a previously opened channel.

 

Syntax

 

sBuffer = TCP_Recv(nFile, nBytes)

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning

nFile

Number

No

Previously opened file number

nBytes

Number

No

Max number of bytes to receive

 

Remarks

 

Restrictions

 

See also

 

Examples