help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes] Reference for unit 'lNet' (#LNet)

TLUdp.Get

Method used to receive data from the other side

Declaration

Source position: lnet.pp line 339

public function TLUdp.Get(

  var aData;

  const aSize: Integer;

  aSocket: TLSocket = nil

):Integer; override;

Arguments

aData

  

The user buffer to receive data into

aSize

  

Maximum size of the data to receive

aSocket

  

The socket to receive on, defaults to nil. There is no need to specify the socket as UDP always has only one socket.

Function result

Returns number of bytes received

Description

This method is used to receive data from the other side, into the user buffer. Socket does not need to be specified as UDP has only one socket all the times.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505