Gentee Programming Language > Documentation > Libraries Download documentation

socket.recv

The method gets a packet from the connected server.
 
uint socket.recv(
      buf   data
)

Parameters

dataThe buffer for writing data. The received packet will be added to the data already existing in the buffer.

Return value

Nonzero if initialization was successful; otherwise 0.

See also

    Internet


 Copyright © 2004-2006 Gentee Inc. All rights reserved.