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



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

TLUdp.GetMessage

Method used to receive message from the other side

Declaration

Source position: lnet.pp line 340

public function TLUdp.GetMessage(

  out msg: String;

  aSocket: TLSocket = nil

):Integer; override;

Arguments

msg

  

The message to receive into

aSocket

  

The socket to receive on, defaults to nil. Socket does not need to be specified as UDP has only one all the time.

Function result

Returns the number of bytes received

Description

This method is used to receive message from the other side and put it into a string. Socket does not need to be specified in any case as UDP has only one socket at all times.

Notes

 No notes exist for this page yet. 





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